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 13293e8

Browse files
更新 1047.删除字符串中的所有相邻重复项.md python注释
1 parent ce2c6fb commit 13293e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎problems/1047.删除字符串中的所有相邻重复项.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class Solution:
210210
```
211211

212212
```python3
213-
# 双指针
213+
# 方法二,使用双指针模拟栈,如果不让用栈可以作为备选方法。
214214
class Solution:
215215
def removeDuplicates(self, s: str) -> str:
216216
res = list(s)

0 commit comments

Comments
(0)

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