MCPcopy Index your code
hub / github.com/OmkarPathak/pygorithm / __init__

Method __init__

pygorithm/data_structures/trie.py:15–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

13
14class Trie:
15 def __init__(self):
16 self.root = Node('') #The root of the trie is always empty
17
18 def insert(self, word):
19 """

Callers

nothing calls this directly

Calls 1

NodeClass · 0.70

Tested by

no test coverage detected