mirror of
https://github.com/krahets/hello-algo.git
synced 2026-05-02 06:23:12 +08:00
build
This commit is contained in:
@@ -60,8 +60,8 @@ G. M. Adelson-Velsky 和 E. M. Landis 在其 1962 年发表的论文 "An algorit
|
||||
=== "Python"
|
||||
|
||||
```python title=""
|
||||
""" AVL 树节点类 """
|
||||
class TreeNode:
|
||||
"""AVL 树节点类"""
|
||||
def __init__(self, val: int):
|
||||
self.val: int = val # 节点值
|
||||
self.height: int = 0 # 节点高度
|
||||
|
||||
Reference in New Issue
Block a user