Coding · Medium · Pro
Search in a row-wise and column-wise sorted matrix
CodingMatrixSenior
Approach
- Start top-right corner.
- If target smaller, move left; else move down.
Java Solution
Java
boolean searchMatrix(int[][] m, int t…Coding · Medium · Pro
boolean searchMatrix(int[][] m, int t…