MathWorks Interview Question

1 algorithm question. A matrix(n*n) with its elemenst sorted column wise and row wise. Design an algorithm to search an element and its time complexity.