General Motors (GM) Interview Question

Merge step in merge sort. A mining problem.