Anonymous Interview Question

merge sort find element in sorted 2d array sql vs nosql