- All rows are in ascending order
- All columns are in ascending order
- Each element is unique.
Write a O(nlog(m)) program to search for a given element in the matrix,
where the matrix is of dimension n x m.
For extra interest: write a log(n) * log(m) algorithm for the same.