I was recently given this interview question and I\'m curious what a good solution to it would be.
Say I\'m given a 2d array where all the numbers i
Binary search through the diagonal of the array is the best option. We can find out whether the element is less than or equal to the elements in the diagonal.