auto commit
This commit is contained in:
parent
0de0881ae0
commit
85e4fdb2d0
|
@ -140,7 +140,7 @@ private void merge(int[] nums, int l, int m, int h) {
|
|||
|
||||
## 题目描述
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/8f6f9dc9-9ecd-47c8-b50e-2814f0219056.png" width="500"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/5f1cb999-cb9a-4f6c-a0af-d90377295ab8.png" width="500"/> </div><br>
|
||||
|
||||
## 解题思路
|
||||
|
||||
|
@ -232,7 +232,7 @@ private void inOrder(TreeNode root, int k) {
|
|||
|
||||
从根结点到叶结点依次经过的结点(含根、叶结点)形成树的一条路径,最长路径的长度为树的深度。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/b29f8971-9cb8-480d-b986-0e60c2ece069.png" width="350"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/ba355101-4a93-4c71-94fb-1da83639727b.jpg" width="350px"/> </div><br>
|
||||
|
||||
## 解题思路
|
||||
|
||||
|
@ -250,7 +250,7 @@ public int TreeDepth(TreeNode root) {
|
|||
|
||||
平衡二叉树左右子树高度差不超过 1。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/e026c24d-00fa-4e7c-97a8-95a98cdc383a.png" width="300"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/af1d1166-63af-47b6-9aa3-2bf2bd37bd03.jpg" width="250px"/> </div><br>
|
||||
|
||||
## 解题思路
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
# 目录
|
||||
|
||||
部分绘图文件可以在这里免费下载:[剑指 Offer](https://www.processon.com/view/5a3e4c7be4b0909c1aa18b49),后续会慢慢把所有题目都配上 GIF 演示图。
|
||||
|
||||
- [3\~9](剑指%20Offer%20题解%20-%203\~9.md)
|
||||
- [10\~19](剑指%20Offer%20题解%20-%2010\~19.md)
|
||||
- [20\~29](剑指%20Offer%20题解%20-%2020\~29.md)
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
# 目录
|
||||
|
||||
部分绘图文件可以在这里免费下载:[剑指 Offer](https://www.processon.com/view/5a3e4c7be4b0909c1aa18b49),后续会慢慢把所有题目都配上 GIF 演示图。
|
||||
|
||||
- [3\~9](notes/剑指%20Offer%20题解%20-%203\~9.md)
|
||||
- [10\~19](notes/剑指%20Offer%20题解%20-%2010\~19.md)
|
||||
- [20\~29](notes/剑指%20Offer%20题解%20-%2020\~29.md)
|
||||
|
|
BIN
docs/pics/5f1cb999-cb9a-4f6c-a0af-d90377295ab8.png
Normal file
BIN
docs/pics/5f1cb999-cb9a-4f6c-a0af-d90377295ab8.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
docs/pics/af1d1166-63af-47b6-9aa3-2bf2bd37bd03.jpg
Normal file
BIN
docs/pics/af1d1166-63af-47b6-9aa3-2bf2bd37bd03.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
docs/pics/ba355101-4a93-4c71-94fb-1da83639727b.jpg
Normal file
BIN
docs/pics/ba355101-4a93-4c71-94fb-1da83639727b.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Loading…
Reference in New Issue
Block a user