Skip to content

Commit 70d6b27

Browse files
authored
Update README.md
1 parent 4fb58ea commit 70d6b27

File tree

1 file changed

+3
-3
lines changed
  • Binary Tree/Minimum Depth of N-ary Tree

1 file changed

+3
-3
lines changed

Binary Tree/Minimum Depth of N-ary Tree/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Given a binary tree, find its minimum depth.
44

55
The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.
66

7-
###Example 1:
7+
### Example 1:
88

9-
![]https://assets.leetcode.com/uploads/2020/10/12/ex_depth.jpg
9+
![](https://assets.leetcode.com/uploads/2020/10/12/ex_depth.jpg)
1010
```
1111
Input: root = [3,9,20,null,null,15,7]
1212
Output: 2
1313
```
14-
###Constraints:
14+
### Constraints:
1515

1616
- The number of nodes in the tree is in the range [0, 105].
1717
- -1000 <= Node.val <= 1000

0 commit comments

Comments
 (0)