Skip to content

Commit 3022a1b

Browse files
authored
onlybooks#40 Remove unnecessary attr.
1 parent c21b311 commit 3022a1b

File tree

1 file changed

+0
-1
lines changed
  • 4-non-linear-data-structures/ch16

1 file changed

+0
-1
lines changed

4-non-linear-data-structures/ch16/57-2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def insert(self, index, word) -> None:
2525
if self.is_palindrome(word[0:len(word) - i]):
2626
node.palindrome_word_ids.append(index)
2727
node = node.children[char]
28-
node.val = char
2928
node.word_id = index
3029

3130
def search(self, index, word) -> List[List[int]]:

0 commit comments

Comments
 (0)