Skip to content

Commit e58ca10

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 441efe5 commit e58ca10

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

data_structures/trie/radix_tree.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
with its parent [https://en.wikipedia.org/wiki/Radix_tree]
77
"""
88

9+
910
class RadixNode:
1011
def __init__(self, prefix: str = "", is_leaf: bool = False) -> None:
1112
# Mapping from the first character of the prefix of the node
@@ -217,10 +218,10 @@ def test_trie(self) -> None:
217218
assert root.find("bananas")
218219

219220
def test_trie_2(self) -> None:
220-
'''
221-
now add a new test case which inserts
221+
"""
222+
now add a new test case which inserts
222223
foobbb, fooaaa, foo in the given order and checks for different assertions
223-
'''
224+
"""
224225
words = "foobbb fooaaa foo".split()
225226
root = RadixNode()
226227
root.insert_many(words)

0 commit comments

Comments
 (0)