LeetCode MEDIUM 240 Search a 2D Matrix II Summary
Generated by Codex with GPT-5
Quick facts
- Difficulty:
MEDIUM - Problem: Search a 2D Matrix II
- Topics:
Array,Binary Search,Divide and Conquer,Matrix
Problem gist
The matrix is sorted in two directions at once. Every row is sorted from left to right, and every column is sorted from top to bottom. Given a target value, the task is to decide whether the target appears anywhere in the matrix.
Continue ...