Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Trie代码改进 #9

Open
hsswiki opened this issue Jul 12, 2023 · 0 comments · May be fixed by #10
Open

Enhancement: Trie代码改进 #9

hsswiki opened this issue Jul 12, 2023 · 0 comments · May be fixed by #10

Comments

@hsswiki
Copy link

hsswiki commented Jul 12, 2023

https://github.com/itcharge/LeetCode-Py/blob/344b802897606b89422c8b0cdd99843126ef26c3/Contents/06.String/03.String-Multi-Pattern-Matching/01.Trie.md?plain=1#L128C12-L128C27

貌似这里不需要检查cur is not None,因为cur不可能为None。这个判断永远是True。

@hsswiki hsswiki linked a pull request Jul 12, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant