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 79911eb commit 04eaeceCopy full SHA for 04eaece
src/main/java/com/fishercoder/solutions/_100.java
@@ -7,6 +7,36 @@
7
*
8
* Given two binary trees, write a function to check if they are equal or not. Two binary trees are
9
* considered equal if they are structurally identical and the nodes have the same value.
10
+ *
11
+ * Example 1:
12
13
+ * Input: 1 1
14
+ * / \ / \
15
+ * 2 3 2 3
16
17
+ * [1,2,3], [1,2,3]
18
19
+ * Output: true
20
21
+ * Example 2:
22
23
24
+ * / \
25
+ * 2 2
26
27
+ * [1,2], [1,null,2]
28
29
+ * Output: false
30
31
+ * Example 3:
32
33
34
35
+ * 2 1 1 2
36
37
+ * [1,2,1], [1,1,2]
38
39
40
*/
41
42
public class _100 {
0 commit comments