Array
74. Search a 2D Matrix
The two properties — each row sorted, and every row's first element exceeding the previous row's last — mean that reading the matrix left-to-right, top-to-bottom yields one fully sorted array. So run…
Loading…
The two properties — each row sorted, and every row's first element exceeding the previous row's last — mean that reading the matrix left-to-right, top-to-bottom yields one fully sorted array. So run…
Loading…