Searching in a Sorted 2D Matrix | Leetcode 2D Matrix
"Given a sorted 2D matrix (each row and column is sorted), and a target number, determine if the number exists in the matrix." At first glance, it looked simple. But as always, the devil is in the details. Here’s how my thought process evolved. Step ...
Aug 30, 20253 min read