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

Commit490103a

Browse files
authored
Merge pull requestneetcode-gh#1327 from programmer-04/patch-1
Modify Design-Add-and-Search-Words-Data-Structure.py: Revert cur.end to cur.word
2 parents06ec2a0 +34adee2 commit490103a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎python/211-Design-Add-and-Search-Words-Data-Structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ def dfs(j, root):
3131
ifcnotincur.children:
3232
returnFalse
3333
cur=cur.children[c]
34-
returncur.end
34+
returncur.word
3535

3636
returndfs(0,self.root)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp