Start at Top Right => current cell
If the "search value == value[current cell]", print found.
If search "value > value[current cell]", move towards left and make it
current cell.
If search "value < value[current cell]", move towards down and make it
current cell.
If it can't progress, print not found.
Worst case Complexity for [m x n] matrix = O(m + n)
Can we apply binary search on this? will have to check.
Thanks
Shyam Velupula
> Given2dsorted array (Sorted by columns and rows), What is the best