DSA Key Problems

Merge Sorted Array

Given two nondecreasing arrays and enough trailing space in the first to hold both, merge all values into the first array in nondecreasing order.