Skip to content

Commit f7e4aae

Browse files
authored
Update minimum-window-with-characters.md
1 parent 43307f8 commit f7e4aae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/minimum-window-with-characters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ class Solution {
325325

326326
### Time & Space Complexity
327327

328-
- Time complexity: $O(n ^ 2)$
328+
- Time complexity: $O(n ^ 2 * m)$
329329
- Space complexity: $O(m)$
330330

331331
> Where $n$ is the length of the string $s$ and $m$ is the total number of unique characters in the strings $t$ and $s$.
@@ -702,7 +702,7 @@ class Solution {
702702

703703
### Time & Space Complexity
704704

705-
- Time complexity: $O(n)$
705+
- Time complexity: $O(n + m)$
706706
- Space complexity: $O(m)$
707707

708708
> Where $n$ is the length of the string $s$ and $m$ is the total number of unique characters in the strings $t$ and $s$.

0 commit comments

Comments
 (0)