Write a function to search for a target value in an M x N matrix where each row is sorted in ascending order from left to right, and each column is sorted in ascending order from top to bottom.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.