diff --git a/404.html b/404.html index 49207032c..bcb8bb686 100644 --- a/404.html +++ b/404.html @@ -250,6 +250,8 @@ + + @@ -292,6 +294,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_appendix/contribution/index.html b/chapter_appendix/contribution/index.html index 7617500e4..dc787eb78 100644 --- a/chapter_appendix/contribution/index.html +++ b/chapter_appendix/contribution/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_appendix/installation/index.html b/chapter_appendix/installation/index.html index 48db93ae3..c6bfddda0 100644 --- a/chapter_appendix/installation/index.html +++ b/chapter_appendix/installation/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_array_and_linkedlist/array/index.html b/chapter_array_and_linkedlist/array/index.html index c9b8dd04f..0f72641a8 100644 --- a/chapter_array_and_linkedlist/array/index.html +++ b/chapter_array_and_linkedlist/array/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_array_and_linkedlist/linked_list/index.html b/chapter_array_and_linkedlist/linked_list/index.html index 247fc9d37..7a8b7d3ee 100644 --- a/chapter_array_and_linkedlist/linked_list/index.html +++ b/chapter_array_and_linkedlist/linked_list/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_array_and_linkedlist/list/index.html b/chapter_array_and_linkedlist/list/index.html index 55cdfb8a3..1953159d7 100644 --- a/chapter_array_and_linkedlist/list/index.html +++ b/chapter_array_and_linkedlist/list/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_array_and_linkedlist/summary/index.html b/chapter_array_and_linkedlist/summary/index.html index f11b18b95..8909eccf1 100644 --- a/chapter_array_and_linkedlist/summary/index.html +++ b/chapter_array_and_linkedlist/summary/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_computational_complexity/performance_evaluation/index.html b/chapter_computational_complexity/performance_evaluation/index.html index 6ade2476e..3b57633f1 100644 --- a/chapter_computational_complexity/performance_evaluation/index.html +++ b/chapter_computational_complexity/performance_evaluation/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_computational_complexity/space_complexity/index.html b/chapter_computational_complexity/space_complexity/index.html index f0cdbe8ae..0f3d4ba70 100644 --- a/chapter_computational_complexity/space_complexity/index.html +++ b/chapter_computational_complexity/space_complexity/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_computational_complexity/space_time_tradeoff/index.html b/chapter_computational_complexity/space_time_tradeoff/index.html index 053fa8a03..dd9e3374a 100644 --- a/chapter_computational_complexity/space_time_tradeoff/index.html +++ b/chapter_computational_complexity/space_time_tradeoff/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_computational_complexity/summary/index.html b/chapter_computational_complexity/summary/index.html index 89e14b0ee..8790ee1b7 100644 --- a/chapter_computational_complexity/summary/index.html +++ b/chapter_computational_complexity/summary/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_computational_complexity/time_complexity/index.html b/chapter_computational_complexity/time_complexity/index.html index d8dbb5e2e..7d82f9bb7 100644 --- a/chapter_computational_complexity/time_complexity/index.html +++ b/chapter_computational_complexity/time_complexity/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_data_structure/classification_of_data_structure/index.html b/chapter_data_structure/classification_of_data_structure/index.html index 114ba7e50..3731ff39b 100644 --- a/chapter_data_structure/classification_of_data_structure/index.html +++ b/chapter_data_structure/classification_of_data_structure/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_data_structure/data_and_memory/index.html b/chapter_data_structure/data_and_memory/index.html index 7b8ab13b6..2deee2972 100644 --- a/chapter_data_structure/data_and_memory/index.html +++ b/chapter_data_structure/data_and_memory/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_data_structure/summary/index.html b/chapter_data_structure/summary/index.html index 1d404e4ac..3b6fcc764 100644 --- a/chapter_data_structure/summary/index.html +++ b/chapter_data_structure/summary/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_graph/graph/index.html b/chapter_graph/graph/index.html index 2d58ce518..ba6bbc40b 100644 --- a/chapter_graph/graph/index.html +++ b/chapter_graph/graph/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_graph/graph_operations/index.html b/chapter_graph/graph_operations/index.html index 145c9c9ab..23261e9b4 100644 --- a/chapter_graph/graph_operations/index.html +++ b/chapter_graph/graph_operations/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_graph/graph_traversal/index.html b/chapter_graph/graph_traversal/index.html index 2a634ed1d..9d14a89ba 100644 --- a/chapter_graph/graph_traversal/index.html +++ b/chapter_graph/graph_traversal/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_graph/summary/index.html b/chapter_graph/summary/index.html index 14f4580d0..46f047e42 100644 --- a/chapter_graph/summary/index.html +++ b/chapter_graph/summary/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_hashing/hash_collision/index.html b/chapter_hashing/hash_collision/index.html index a1dd8ca40..6f7ba94cc 100644 --- a/chapter_hashing/hash_collision/index.html +++ b/chapter_hashing/hash_collision/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_hashing/hash_map/index.html b/chapter_hashing/hash_map/index.html index cd9957077..6d1f25789 100644 --- a/chapter_hashing/hash_map/index.html +++ b/chapter_hashing/hash_map/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_hashing/summary/index.html b/chapter_hashing/summary/index.html index a30657e4a..2e158098d 100644 --- a/chapter_hashing/summary/index.html +++ b/chapter_hashing/summary/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_heap/build_heap/index.html b/chapter_heap/build_heap/index.html index e3301deed..e57da85cd 100644 --- a/chapter_heap/build_heap/index.html +++ b/chapter_heap/build_heap/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_heap/heap/index.html b/chapter_heap/heap/index.html index 69b99244d..b65059bf0 100644 --- a/chapter_heap/heap/index.html +++ b/chapter_heap/heap/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_heap/summary/index.html b/chapter_heap/summary/index.html index 9f9add36d..306a11f4d 100644 --- a/chapter_heap/summary/index.html +++ b/chapter_heap/summary/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_introduction/algorithms_are_everywhere/index.html b/chapter_introduction/algorithms_are_everywhere/index.html index 8a52f5fcf..2ab7adc4c 100644 --- a/chapter_introduction/algorithms_are_everywhere/index.html +++ b/chapter_introduction/algorithms_are_everywhere/index.html @@ -15,7 +15,7 @@ - + @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + @@ -1727,7 +1743,7 @@ - + @@ -1736,7 +1752,7 @@ 上一页 - 0.2. 如何使用本书 + 0.3. 小结 diff --git a/chapter_introduction/summary/index.html b/chapter_introduction/summary/index.html index 547e77560..e9a45bde5 100644 --- a/chapter_introduction/summary/index.html +++ b/chapter_introduction/summary/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_introduction/what_is_dsa/index.html b/chapter_introduction/what_is_dsa/index.html index 463ca7d60..bb48058b4 100644 --- a/chapter_introduction/what_is_dsa/index.html +++ b/chapter_introduction/what_is_dsa/index.html @@ -261,6 +261,8 @@ + + @@ -303,6 +305,20 @@ + + + + + + + + 0.3. 小结 + + + + + + diff --git a/chapter_preface/about_the_book/index.html b/chapter_preface/about_the_book/index.html index 1559538a2..707375675 100644 --- a/chapter_preface/about_the_book/index.html +++ b/chapter_preface/about_the_book/index.html @@ -261,6 +261,8 @@ + + @@ -358,6 +360,20 @@ + + + + + + + + 0.3. 小结 + + + + + + @@ -1687,11 +1703,12 @@ 0.1. 关于本书¶ -五年前发生的一件事,成为了我职业生涯的重要转折点。当时的我在交大读研,对互联网求职一无所知,但仍然硬着头皮申请了 Microsoft 软件工程师实习。面试官让我在白板上写出“快速排序”代码,我畏畏缩缩地写了一个“冒泡排序”,并且还写错了(ToT) 。从面试官的表情上,我看到了一个大大的 "GG" 。 -此次失利倒逼我开始刷算法题。我采用“扫雷游戏”式的学习方法,两眼一抹黑刷题,扫到不会的“雷”就通过查资料把它“排掉”,配合周期性总结,逐渐形成了数据结构与算法的知识图景。幸运地,我在秋招斩获了多家大厂的 Offer 。 -回想自己当初在“扫雷式”刷题中被炸的满头包的痛苦,思考良久,我意识到一本“前期刷题必看”的读物可以使算法小白少走许多弯路。写作意愿滚滚袭来,那就动笔吧: - Hello 算法! - +本项目致力于构建一本开源免费、新手友好的数据结构与算法入门书。 + +全书采用动画图解,结构化地讲解数据结构与算法知识,内容清晰易懂、学习曲线平滑; +算法源代码皆可一键运行,支持 Java, C++, Python, Go, JS, TS, C#, Swift, Zig 等语言; +鼓励读者在章节讨论区互帮互助、共同进步,提问与评论一般能在两日内得到回复; + 0.1.1. 读者对象¶ 如果您是「算法初学者」,完全没有接触过算法,或者已经有少量刷题,对数据结构与算法有朦胧的理解,在会与不会之间反复横跳,那么这本书就是为你而写! 如果您是「算法老手」,已经积累一定刷题量,接触过大多数题型,那么本书可以帮助你回顾与梳理算法知识体系,仓库源代码可以被当作“刷题工具库”或“算法字典”来使用。 @@ -1701,7 +1718,7 @@ 您需要至少具备任一语言的编程基础,能够阅读和编写简单代码。 0.1.2. 内容结构¶ -本书主要内容分为复杂度分析、数据结构、算法三个部分。 +本书主要内容有: 复杂度分析:数据结构与算法的评价维度、算法效率的评估方法。时间复杂度、空间复杂度,包括推算方法、常见类型、示例等。 数据结构:常用的基本数据类型,数据在内存中的存储方式、数据结构分类方法。数组、链表、栈、队列、散列表、树、堆、图等数据结构,内容包括定义、优劣势、常用操作、常见类型、典型应用、实现方法等。 diff --git a/chapter_preface/suggestions/index.html b/chapter_preface/suggestions/index.html index 0287128e4..be3512cec 100644 --- a/chapter_preface/suggestions/index.html +++ b/chapter_preface/suggestions/index.html @@ -18,7 +18,7 @@ - + @@ -263,6 +263,8 @@ + + @@ -374,6 +376,20 @@ + + + + + + + + 0.3. 小结 + + + + + + @@ -1972,13 +1988,13 @@ - +
五年前发生的一件事,成为了我职业生涯的重要转折点。当时的我在交大读研,对互联网求职一无所知,但仍然硬着头皮申请了 Microsoft 软件工程师实习。面试官让我在白板上写出“快速排序”代码,我畏畏缩缩地写了一个“冒泡排序”,并且还写错了(ToT) 。从面试官的表情上,我看到了一个大大的 "GG" 。
(ToT)
此次失利倒逼我开始刷算法题。我采用“扫雷游戏”式的学习方法,两眼一抹黑刷题,扫到不会的“雷”就通过查资料把它“排掉”,配合周期性总结,逐渐形成了数据结构与算法的知识图景。幸运地,我在秋招斩获了多家大厂的 Offer 。
回想自己当初在“扫雷式”刷题中被炸的满头包的痛苦,思考良久,我意识到一本“前期刷题必看”的读物可以使算法小白少走许多弯路。写作意愿滚滚袭来,那就动笔吧:
本项目致力于构建一本开源免费、新手友好的数据结构与算法入门书。
如果您是「算法初学者」,完全没有接触过算法,或者已经有少量刷题,对数据结构与算法有朦胧的理解,在会与不会之间反复横跳,那么这本书就是为你而写!
如果您是「算法老手」,已经积累一定刷题量,接触过大多数题型,那么本书可以帮助你回顾与梳理算法知识体系,仓库源代码可以被当作“刷题工具库”或“算法字典”来使用。
您需要至少具备任一语言的编程基础,能够阅读和编写简单代码。
本书主要内容分为复杂度分析、数据结构、算法三个部分。
本书主要内容有: