/merge-sorted-array

Merge sorted array challenge with solutions in multiple languages.

Primary LanguageJava

MERGE SORTED ARRAY CHALLENGE

Context

Given two sorted array, create a function that that will merge the two arrays and maintain the sorting order.

Example: a = [2, 4, 7] and b = [5, 20 30, 50] will give [2, 4, 5, 7, 20, 30, 50].

NB:

  • Your solution should provide for empty array cases.
  • The are no repetition constrains