Files
Learn-Algorithms/查找算法/README.md
T

31 lines
447 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### 查找算法
#### 顺序查找
顺序表查找
#### 二分查找
有序表中查找我们会使用二分查找。
```
void binary_search()
```
#### 分块查找
块内无序,块之间有序;可以先二分查找定位到块,然后再到块中顺序查找
#### 动态查找
>这里之所以叫 动态查找表,是因为表结构是查找的过程中动态生成的
二叉排序树,AVL树,B- ,B+
#### 哈希表
O(1)