Skip to content

Commit 4adddcf

Browse files
committed
Add same tree constrains
1 parent 2aa9e43 commit 4adddcf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

binary-tree/100_Same_Tree/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Output: `false`
1818
Input: `p = [1,2,1], q = [1,1,2]`
1919
Output: `false`
2020

21+
**Constraints:**
22+
23+
* The number of nodes in both trees is in the range `[0, 100]`.
24+
* `-10^4 <= Node.val <= 10^4`
25+
26+
2127
## Solution
2228

2329
```python

0 commit comments

Comments
 (0)