Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByteByteGoHq/coding-interview-patterns
/ TrieNode
Class
TrieNode
python3/Tries/design_a_trie.py:1–4 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
class
TrieNode:
2
def
__init__(self):
3
self.children = {}
4
self.is_word = False
5
6
7
class
Trie:
Callers
2
__init__
Method · 0.70
insert
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected