Skip to content

Commit ba727ed

Browse files
committed
Update 34. 二叉树的层序遍历.md
1 parent d3dc886 commit ba727ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

34. 二叉树的层序遍历.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
![algo16](./images/algo16.jpg)
44

5+
```
6+
输入:root = [3,9,20,null,null,15,7]
7+
输出:[[3],[9,20],[15,7]]
8+
```
9+
510
```
611
class Solution:
712
def levelOrder(self, root: Optional[TreeNode]) -> List[List[int]]:

0 commit comments

Comments
 (0)