个人对数据结构和算法的学习记录和一些理解,主要是一些简单的数据结构和常用算法,
+----------------+
| 1 | 2 | 3 | 4 |
+----------------+
+---+---+ +---+---+ +---+---+ +---+---+
| 1 | n | -->| 2 | n |--->| 3 | n |---> | 4 | n |--->
+---+---+ +---+---+ +---+---+ +---+---+
+---+---+---+ +---+---+---+ +---+---+---+ +---+---+---+
| p | 1 | n | <---> | p | 2 | n | <---> | p | 3 | n | <---> | p | 4 | n |
+---+---+---+ +---+---+---+ +---+---+---+ +---+---+---+
---------------------------
---> 4 3 2 1 --->
----------------------------
| ^ |
| ^ |
| 4 |
| 3 |
| 2 |
| 1 |
| |
| ^ |
| ^ |
|
1 1
/ | \ / \
2 | 3 3 2
/ \ | / \ / \ / \
4 5 |6 7 7 6 5 4
|