Search a 2D Matrix

Solution Code
Verifying access...

Time Complexity

O(log(m n)

Space Complexity

O(1)