Coding Trainer
Search a 2D Matrix II
Problem
Search for a value in an m×n matrix where rows and columns are both sorted in ascending order.
Example: matrix with sorted rows/columns, target=5 → true
Problem
Search for a value in an m×n matrix where rows and columns are both sorted in ascending order.
Example: matrix with sorted rows/columns, target=5 → true