Update 二叉树理论基础.md

增加Python 版本 TreeNode定义.
This commit is contained in:
Kelvin
2021-07-23 16:09:38 -04:00
parent bf2a4581b2
commit 7fc26b502a

View File

@ -206,7 +206,13 @@ public class TreeNode {
Python
```python
class TreeNode:
def __init__(self, value):
self.value = value
self.left = None
self.right = None
```
Go
```