Searching in a Sorted 2D Matrix | Leetcode 2D Matrix
Aug 30, 2025 · 3 min read · "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 ...
Join discussion