上九章算法課的筆記,之前記在筆記本上,現在掃描出來便於保存,每次面試之前看着這個筆記過一遍,心裏有譜一些。
目錄:
- 1.二分搜索 Binary search
- 2.二叉樹與分治法
- 3.寬度優先搜索 BFS
- 4.深度優先搜索 DFS
- 5.鏈表 Linked list
- 6.數組 Array
- 7.雙指針 Two pointer
- 8.quick select
- 9.數據結構
- 10.哈希表 hash
- 11.堆 heap
- 12.動態規劃 dp
- 13.並查集 union find sets
1. 二分搜索 Binary search
2. 二叉樹與分治法
3.寬度優先搜索 BFS
4.深度優先搜索 DFS
5.鏈表 Linked list
6.數組 Array
7.雙指針 Two pointer
8.quick select
9.數據結構
10.哈希表 hash
11.堆 heap
12.動態規劃 dp