Skip to content

Commit 78b855c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 25302d5 commit 78b855c

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

data_structures/trie/trie.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -532,15 +532,9 @@ def _find_words(node: Node, current_word: str):
532532
trie.delete("apple")
533533
print(f" After deletion - searching 'apple': {trie.search('apple')}")
534534
app_exists = trie.search("application")
535-
print(
536-
f" Checking if 'application' still exists: {app_exists} "
537-
"(should be True)"
538-
)
535+
print(f" Checking if 'application' still exists: {app_exists} (should be True)")
539536
app_prefix = trie.starts_with("app")
540-
print(
541-
f" Checking if prefix 'app' still matches: {app_prefix} "
542-
"(should be True)"
543-
)
537+
print(f" Checking if prefix 'app' still matches: {app_prefix} (should be True)")
544538

545539
# Test 10: Verify final state
546540
print("\n[TEST 10] Final state - All remaining words")

0 commit comments

Comments
 (0)