MCPcopy Create free account
hub / github.com/ByteByteGoHq/coding-interview-patterns / __init__

Method __init__

python3/Tries/design_a_trie.py:2–4  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1class TrieNode:
2 def __init__(self):
3 self.children = {}
4 self.is_word = False
5
6
7class Trie:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected