Skip to content

Commit 408474e

Browse files
author
Joseph Luce
authored
Update 1032_stream_of_characters.md
1 parent 17cc448 commit 408474e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/hard/1032_stream_of_characters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class TrieNode(object):
4545
self.is_word = False
4646
4747
def __repr__(self):
48-
return '{} {}'.format([ch for ch in self.next], self.is_word)
48+
return '{} {}'.format(self.next.keys(), self.is_word)
4949
5050
@staticmethod
5151
def create_tries(words):

0 commit comments

Comments
 (0)