Skip to content

Commit 9b17b4d

Browse files
authored
Update 226_Invert_Binary_Tree.md
1 parent 93f9ae0 commit 9b17b4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

226_Invert_Binary_Tree.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Invert a binary tree.
44

55
Example:
6-
6+
```
77
Input:
88
99
4
@@ -18,6 +18,7 @@ Output:
1818
7 2
1919
/ \ / \
2020
9 6 3 1
21+
```
2122

2223
```python
2324
def invertTree(self, root: TreeNode) -> TreeNode:

0 commit comments

Comments
 (0)