Search
⌘K

Leetcode 240. Search a 2D Matrix II

Given an m x n matrix where each row and each column is sorted in ascending order, determine whether a target value exists by exploiting the two-way ordering to search more efficiently than a full scan.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.