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

Class Node

pygorithm/data_structures/trie.py:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4'''
5
6class Node:
7 def __init__(self, v, p=None, w=False):
8 self.word = w #If the node represents the end of a word or not
9 self.parent = p
10 self.value = v
11 self.children = {}
12
13
14class Trie:

Callers 2

__init__Method · 0.70
insertMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected