Problem

Merge two sorted arrays into one sorted array.

Examples

  • mergeSortedPair([1, 3], [2, 4]) -> [1, 2, 3, 4]
Compile and test (Ctrl+Enter)