MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / AVL.py

File AVL.py

AVL.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# 构建二叉查找树(非平衡)
2class TreeNode:
3 def __init__(self, key, val, left = None, right = None, parent = None):
4 self.key = key

Callers

nothing calls this directly

Calls 1

BinarySearchTreeClass · 0.70

Tested by

no test coverage detected