Amazon Interview Question

merge sort, binary search, 2d matrix