Houzz Interview Question

Implement the merge portion of the merge sort algorithm (example test cases were given in JS)