MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / __init__

Method __init__

data_structures/trie/trie.py:11–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class TrieNode:
11 def __init__(self):
12 self.nodes = dict() # Mapping from char to TrieNode
13 self.is_leaf = False
14
15 def insert_many(self, words: [str]): # noqa: E999 This syntax is Python 3 only
16 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected