添加基本的代码规范

This commit is contained in:
nonstriater
2015-11-30 10:53:05 +08:00
parent 8f78235a28
commit b2aaaafefa
3 changed files with 156 additions and 48 deletions
+30
View File
@@ -0,0 +1,30 @@
### 查找算法
#### 顺序查找
顺序表查找
#### 二分查找
有序表中查找我们会使用二分查找。
```
void binary_search()
```
#### 分块查找
块内无序,块之间有序;可以先二分查找定位到块,然后再到块中顺序查找
#### 动态查找
>这里之所以叫 动态查找表,是因为表结构是查找的过程中动态生成的
二叉排序树,AVL树,B- ,B+
#### 哈希表
O(1)