LeetCode-Py
LeetCode-Py copied to clipboard
Enhancement: Trie代码改进
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。