Gainsight Interview Question

find element in 2d sorted array