Skip to content

Commit dd8c1d1

Browse files
authored
clarify log for 2d search (neetcode-gh#3755)
1 parent c4ff1cc commit dd8c1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/search-2d-matrix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ class Solution {
550550

551551
### Time & Space Complexity
552552

553-
* Time complexity: $O(\log m + \log n)$
553+
* Time complexity: $O(\log m + \log n)$ (which reduces to $O(\log(m * n))$)
554554
* Space complexity: $O(1)$
555555

556556
> Where $m$ is the number of rows and $n$ is the number of columns of matrix.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy