auto commit

This commit is contained in:
CyC2018 2019-04-24 17:39:12 +08:00
parent fc0b421f06
commit 11dc20d817
9 changed files with 6 additions and 12 deletions

View File

@ -18,7 +18,7 @@
* [含有相同元素求排列](#含有相同元素求排列)
* [组合](#组合)
* [组合求和](#组合求和)
* [含有相同元素的组合求和](#含有相同元素的组合求和)
* [含有相同元素的组合求和](#含有相同元素的组合求和)
* [1-9 数字的组合求和](#1-9-数字的组合求和)
* [子集](#子集)
* [含有相同元素求子集](#含有相同元素求子集)

View File

@ -6,7 +6,7 @@
# 汉诺塔
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/54f1e052-0596-4b5e-833c-e80d75bf3f9b.png" width="300"/> </div><br>
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/69d6c38d-1dec-4f72-ae60-60dbc10e9d15.png" width="300"/> </div><br>
有三个柱子,分别为 from、buffer、to。需要将 from 上的圆盘全部移动到 to 上,并且要保证小圆盘始终在大圆盘上。
@ -14,15 +14,15 @@
① 将 n-1 个圆盘从 from -> buffer
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/8587132a-021d-4f1f-a8ec-5a9daa7157a7.png" width="300"/> </div><br>
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/f9240aa1-8d48-4959-b28a-7ca45c3e4d91.png" width="300"/> </div><br>
② 将 1 个圆盘从 from -> to
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/2861e923-4862-4526-881c-15529279d49c.png" width="300"/> </div><br>
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/f579cab0-3d49-4d00-8e14-e9e1669d0f9f.png" width="300"/> </div><br>
③ 将 n-1 个圆盘从 buffer -> to
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/1c4e8185-8153-46b6-bd5a-288b15feeae6.png" width="300"/> </div><br>
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/d02f74dd-8e33-4f3c-bf29-53203a06695a.png" width="300"/> </div><br>
如果只有一个圆盘,那么只需要进行一次移动操作。
@ -73,7 +73,7 @@ from H1 to H3
生成编码时,从根节点出发,向左遍历则添加二进制位 0向右则添加二进制位 1直到遍历到叶子节点叶子节点代表的字符的编码就是这个路径编码。
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/3ff4f00a-2321-48fd-95f4-ce6001332151.png" width="400"/> </div><br>
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/8edc5164-810b-4cc5-bda8-2a2c98556377.jpg" width="300"/> </div><br>
```java
public class Huffman {

View File

@ -2,9 +2,6 @@
# 目录
实现代码:[Algorithm](https://github.com/CyC2018/Algorithm),绘图文件:[ProcessOn](https://www.processon.com/view/link/5a3e4c1ee4b0ce9ffea8c727)。
- [算法分析](算法%20-%20算法分析.md)
- [排序](算法%20-%20排序.md)
- [并查集](算法%20-%20并查集.md)

View File

@ -2,9 +2,6 @@
# 目录
实现代码:[Algorithm](https://github.com/CyC2018/Algorithm),绘图文件:[ProcessOn](https://www.processon.com/view/link/5a3e4c1ee4b0ce9ffea8c727)。
- [算法分析](notes/算法%20-%20算法分析.md)
- [排序](notes/算法%20-%20排序.md)
- [并查集](notes/算法%20-%20并查集.md)

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB