diff --git a/docs/chapter_preface/about_the_book.md b/docs/chapter_preface/about_the_book.md index f9d9edb65..1fbc3d5a0 100644 --- a/docs/chapter_preface/about_the_book.md +++ b/docs/chapter_preface/about_the_book.md @@ -28,7 +28,7 @@ comments: true - **复杂度分析**:数据结构和算法的评价维度与方法。时间复杂度、空间复杂度的推算方法、常见类型、示例等。 - **数据结构**:基本数据类型,数据结构的分类方法。数组、链表、栈、队列、哈希表、树、堆、图等数据结构的定义、优缺点、常用操作、常见类型、典型应用、实现方法等。 -- **算法**:搜索、排序、分治、回溯、动态规划、贪心等算法的定义、优缺点、效率、应用场景、解题步骤和示例题目等。 +- **算法**:搜索、排序、分治、回溯、动态规划、贪心等算法的定义、优缺点、效率、应用场景、解题步骤和示例问题等。 ![本书主要内容](about_the_book.assets/hello_algo_mindmap.jpg){ class="animation-figure" } @@ -41,7 +41,7 @@ comments: true - 感谢我在公司的导师李汐博士,在一次畅谈中你鼓励我“快行动起来”,坚定了我写这本书的决心; - 感谢我的女朋友泡泡作为本书的首位读者,从算法小白的角度提出许多宝贵建议,使得本书更适合新手阅读; - 感谢腾宝、琦宝、飞宝为本书起了一个富有创意的名字,唤起大家写下第一行代码 "Hello World!" 的美好回忆; -- 感谢校铨在知识产权方面提供的帮助,你的专业指导对这本开源书籍的发展起到了至关重要的作用。 +- 感谢校铨在知识产权方面提供的专业帮助,这对本开源书的发展起到了重要的作用; - 感谢苏潼为本书设计了精美的封面和 logo ,并在我的强迫症下多次耐心修改; - 感谢 @squidfunk 提供的写作排版建议,以及他开发的开源文档主题 [Material-for-MkDocs](https://github.com/squidfunk/mkdocs-material/tree/master) 。 diff --git a/docs/chapter_preface/suggestions.md b/docs/chapter_preface/suggestions.md index 0ccddf049..e2518f618 100644 --- a/docs/chapter_preface/suggestions.md +++ b/docs/chapter_preface/suggestions.md @@ -177,7 +177,7 @@ comments: true 如果你在阅读本书时,发现某段内容提供了如图 0-2 所示的动画或图解,**请以图为主、以文字为辅**,综合两者来理解内容。 -![动画图解示例](../index.assets/animation.gif){ class="animation-figure" } +![动画图解示例](../index.assets/animation_light.gif){ class="animation-figure" }

图 0-2   动画图解示例

@@ -189,7 +189,7 @@ comments: true 与阅读代码相比,编写代码的过程往往能带来更多收获。**动手学,才是真的学**。 -![运行代码示例](../index.assets/running_code.gif){ class="animation-figure" } +![运行代码示例](../index.assets/running_code_light.gif){ class="animation-figure" }

图 0-3   运行代码示例

@@ -223,7 +223,7 @@ git clone https://github.com/krahets/hello-algo.git 如图 0-6 所示,每个章节的底部都配有评论区。希望你能多关注评论区的内容。一方面,你可以了解大家遇到的问题,从而查漏补缺,激发更深入的思考。另一方面,期待你能慷慨地回答其他小伙伴的问题,分享你的见解,帮助他人进步。 -![评论区示例](../index.assets/comment.gif){ class="animation-figure" } +![评论区示例](../index.assets/comment_light.gif){ class="animation-figure" }

图 0-6   评论区示例

diff --git a/docs/index.assets/btn_download_pdf_dark.svg b/docs/index.assets/btn_download_pdf_dark.svg new file mode 100644 index 000000000..b8e165659 --- /dev/null +++ b/docs/index.assets/btn_download_pdf_dark.svg @@ -0,0 +1 @@ +下载PDF \ No newline at end of file diff --git a/docs/index.assets/btn_download_pdf_light.svg b/docs/index.assets/btn_download_pdf_light.svg new file mode 100644 index 000000000..7670e9170 --- /dev/null +++ b/docs/index.assets/btn_download_pdf_light.svg @@ -0,0 +1 @@ +下载PDF \ No newline at end of file diff --git a/docs/index.assets/btn_read_online_dark.svg b/docs/index.assets/btn_read_online_dark.svg new file mode 100644 index 000000000..4fcb886ee --- /dev/null +++ b/docs/index.assets/btn_read_online_dark.svg @@ -0,0 +1 @@ +在线阅读 \ No newline at end of file diff --git a/docs/index.assets/btn_read_online_light.svg b/docs/index.assets/btn_read_online_light.svg new file mode 100644 index 000000000..e4c210e42 --- /dev/null +++ b/docs/index.assets/btn_read_online_light.svg @@ -0,0 +1 @@ +在线阅读 \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 50f22273f..bf9f7ca90 100644 --- a/docs/index.md +++ b/docs/index.md @@ -68,7 +68,7 @@ hide:

内容清晰易懂、学习曲线平滑
电脑、平板、手机全终端阅读

-![algorithm_animation](index.assets/animation.gif) + !!! quote "" @@ -81,7 +81,7 @@ hide:

提供各个算法与数据结构的简洁实现与测试样例,皆可直接运行
支持 Python、C++、Java、C#、Go、Swift、JS、TS、Dart、Rust、C、Zig 等语言

-![running_code](index.assets/running_code.gif) + !!! quote "" @@ -94,7 +94,7 @@ hide:

鼓励小伙伴们互帮互助、共同成长
提问与评论一般能在两日内得到回复

-![comment](index.assets/comment.gif) + !!! quote "" @@ -146,5 +146,3 @@ hide: - ----