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

Method __init__

dynamic_programming/optimal_binary_search_tree.py:26–28  ·  view source on GitHub ↗
(self, key, freq)

Source from the content-addressed store, hash-verified

24 """Binary Search Tree Node"""
25
26 def __init__(self, key, freq):
27 self.key = key
28 self.freq = freq
29
30 def __str__(self):
31 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected