commit
57484a8cd9
|
|
@ -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:
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue