05.02 · Problem
Search a 2D Matrix
This problem is part of solulu Pro
An m × n matrix has each row sorted left to right, and the first value of each row is greater than the last value of the previous row. Return true if target is in the matrix, in O(log(m·n)) time.
Lifetime ₹1,999 ₹999 · Launch offer
Item 29 of 150 · updated 2026-10-12