Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf7e4aae

Browse files
authored
Update minimum-window-with-characters.md
1 parent43307f8 commitf7e4aae

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)

[8]ページ先頭

©2009-2025 Movatter.jp