MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / __init__

Method __init__

Python/Trie.py:9–10  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7class Trie:
8
9 def __init__(self):
10 self.root = TrieNode()
11
12 def insert(self, word):
13 node=self.root

Callers

nothing calls this directly

Calls 1

TrieNodeClass · 0.70

Tested by

no test coverage detected