Add summary for the chapters of introduction, hashing, heap, graph, sorting

This commit is contained in:
krahets
2023-02-26 22:47:21 +08:00
parent 1a49631dba
commit c2d641537e
15 changed files with 78 additions and 19 deletions

View File

@@ -3,6 +3,7 @@
- 线性查找是一种最基础的查找方法,通过遍历数据结构 + 判断条件实现查找。
- 二分查找利用数据的有序性,通过循环不断缩小一半搜索区间来实现查找,其要求输入数据是有序的,并且仅适用于数组或基于数组实现的数据结构。
- 哈希查找借助哈希表来实现常数阶时间复杂度的查找操作,体现以空间换时间的算法思想。
- 下表总结对比了查找算法的各种特性和时间复杂度。
<div class="center-table" markdown>