mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-19 07:17:54 +08:00
Add summary for the chapters of introduction, hashing, heap, graph, sorting
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
- 线性查找是一种最基础的查找方法,通过遍历数据结构 + 判断条件实现查找。
|
||||
- 二分查找利用数据的有序性,通过循环不断缩小一半搜索区间来实现查找,其要求输入数据是有序的,并且仅适用于数组或基于数组实现的数据结构。
|
||||
- 哈希查找借助哈希表来实现常数阶时间复杂度的查找操作,体现以空间换时间的算法思想。
|
||||
- 下表总结对比了查找算法的各种特性和时间复杂度。
|
||||
|
||||
<div class="center-table" markdown>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user