We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8307b4a commit f77624bCopy full SHA for f77624b
src/main/java/com/fishercoder/solutions/_226.java
@@ -5,23 +5,24 @@
5
import java.util.LinkedList;
6
import java.util.Queue;
7
8
-/**226. Invert Binary Tree
+/**
9
+ * 226. Invert Binary Tree
10
-Invert a binary tree.
11
+ Invert a binary tree.
12
- 4
13
- / \
14
- 2 7
15
- / \ / \
16
-1 3 6 9
+ 4
+ / \
+ 2 7
+ / \ / \
17
+ 1 3 6 9
18
-to
19
+ to
20
21
22
- 7 2
23
24
-9 6 3 1
+ 7 2
25
+ 9 6 3 1
26
27
Trivia:
28
This problem was inspired by this original tweet by Max Howell:
0 commit comments