Write a program to merge two sorted arrays into a single sorted array.
MediumProblem Statement
Write a program to merge two sorted arrays into a single sorted array.
Sample Input
Array 1: [1, 3, 5], Array 2: [2, 4, 6]
Sample Output
Merged Array: 1, 2, 3, 4, 5, 6
Limits
Time: 2s · Memory: 256 MB