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

Commit f28b82f

Browse files
🐱(sliding-window): 567. 字符串的排列 补充复杂度
1 parent 1f6f8e4 commit f28b82f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎docs/algorithm/sliding-window/README.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,7 @@ class Solution:
151151
return True
152152

153153
return False
154-
```
154+
```
155+
156+
- 时间复杂度:$O(l1 + (l2 - l1) * 26)$($l1$ 为字符串 s1 长度,$l2$ 为字符串 s2 长度)
157+
- 空间复杂度:$O(1)$

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /