diff --git a/docs-en/chapter_array_and_linkedlist/array.assets/array_definition.png b/docs-en/chapter_array_and_linkedlist/array.assets/array_definition.png index 6cb6e5804..fd29508ee 100644 Binary files a/docs-en/chapter_array_and_linkedlist/array.assets/array_definition.png and b/docs-en/chapter_array_and_linkedlist/array.assets/array_definition.png differ diff --git a/docs-en/chapter_array_and_linkedlist/array.assets/array_insert_element.png b/docs-en/chapter_array_and_linkedlist/array.assets/array_insert_element.png index b8a3bbadd..5c10ac710 100644 Binary files a/docs-en/chapter_array_and_linkedlist/array.assets/array_insert_element.png and b/docs-en/chapter_array_and_linkedlist/array.assets/array_insert_element.png differ diff --git a/docs-en/chapter_array_and_linkedlist/array.assets/array_memory_location_calculation.png b/docs-en/chapter_array_and_linkedlist/array.assets/array_memory_location_calculation.png index 4e3d20163..be1246156 100644 Binary files a/docs-en/chapter_array_and_linkedlist/array.assets/array_memory_location_calculation.png and b/docs-en/chapter_array_and_linkedlist/array.assets/array_memory_location_calculation.png differ diff --git a/docs-en/chapter_array_and_linkedlist/array.assets/array_remove_element.png b/docs-en/chapter_array_and_linkedlist/array.assets/array_remove_element.png index 33162da65..416b2a66f 100644 Binary files a/docs-en/chapter_array_and_linkedlist/array.assets/array_remove_element.png and b/docs-en/chapter_array_and_linkedlist/array.assets/array_remove_element.png differ diff --git a/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_common_types.png b/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_common_types.png index dde887ed3..3780b1508 100644 Binary files a/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_common_types.png and b/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_common_types.png differ diff --git a/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_definition.png b/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_definition.png index a125c7eed..f831715f3 100644 Binary files a/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_definition.png and b/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_definition.png differ diff --git a/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_insert_node.png b/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_insert_node.png index 4710a893b..a9a770981 100644 Binary files a/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_insert_node.png and b/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_insert_node.png differ diff --git a/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_remove_node.png b/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_remove_node.png index 16c54ec6c..3f1179aeb 100644 Binary files a/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_remove_node.png and b/docs-en/chapter_array_and_linkedlist/linked_list.assets/linkedlist_remove_node.png differ diff --git a/docs-en/chapter_array_and_linkedlist/ram_and_cache.assets/computer_storage_devices.png b/docs-en/chapter_array_and_linkedlist/ram_and_cache.assets/computer_storage_devices.png index 25f848c43..a166d1b6c 100644 Binary files a/docs-en/chapter_array_and_linkedlist/ram_and_cache.assets/computer_storage_devices.png and b/docs-en/chapter_array_and_linkedlist/ram_and_cache.assets/computer_storage_devices.png differ diff --git a/docs-en/chapter_array_and_linkedlist/ram_and_cache.assets/storage_pyramid.png b/docs-en/chapter_array_and_linkedlist/ram_and_cache.assets/storage_pyramid.png index 55c91f7db..eafa8852e 100644 Binary files a/docs-en/chapter_array_and_linkedlist/ram_and_cache.assets/storage_pyramid.png and b/docs-en/chapter_array_and_linkedlist/ram_and_cache.assets/storage_pyramid.png differ diff --git a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step1.png b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step1.png index 604be22da..7f1d28e52 100644 Binary files a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step1.png and b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step1.png differ diff --git a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step2.png b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step2.png index ca0c6430c..396f9ddfb 100644 Binary files a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step2.png and b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step2.png differ diff --git a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step3.png b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step3.png index 36b604f31..e31cef159 100644 Binary files a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step3.png and b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step3.png differ diff --git a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step4.png b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step4.png index 5dd90fa9b..d3661bc69 100644 Binary files a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step4.png and b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step4.png differ diff --git a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step5.png b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step5.png index 7d2e1fb7c..58ad458f6 100644 Binary files a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step5.png and b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/binary_search_dictionary_step5.png differ diff --git a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/greedy_change.png b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/greedy_change.png index abeafe785..c228910cb 100644 Binary files a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/greedy_change.png and b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/greedy_change.png differ diff --git a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/playing_cards_sorting.png b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/playing_cards_sorting.png index 68fa8f444..ffa4462b8 100644 Binary files a/docs-en/chapter_introduction/algorithms_are_everywhere.assets/playing_cards_sorting.png and b/docs-en/chapter_introduction/algorithms_are_everywhere.assets/playing_cards_sorting.png differ diff --git a/docs-en/chapter_introduction/what_is_dsa.assets/relationship_between_data_structure_and_algorithm.png b/docs-en/chapter_introduction/what_is_dsa.assets/relationship_between_data_structure_and_algorithm.png index d785391d7..a0e3e5768 100644 Binary files a/docs-en/chapter_introduction/what_is_dsa.assets/relationship_between_data_structure_and_algorithm.png and b/docs-en/chapter_introduction/what_is_dsa.assets/relationship_between_data_structure_and_algorithm.png differ diff --git a/docs-en/chapter_preface/suggestions.assets/code_md_to_repo.png b/docs-en/chapter_preface/suggestions.assets/code_md_to_repo.png index ca34b7c2f..6570b3d7f 100644 Binary files a/docs-en/chapter_preface/suggestions.assets/code_md_to_repo.png and b/docs-en/chapter_preface/suggestions.assets/code_md_to_repo.png differ diff --git a/docs-en/chapter_preface/suggestions.assets/learning_route.png b/docs-en/chapter_preface/suggestions.assets/learning_route.png index 9784ecc79..4492a788f 100644 Binary files a/docs-en/chapter_preface/suggestions.assets/learning_route.png and b/docs-en/chapter_preface/suggestions.assets/learning_route.png differ diff --git a/docs/chapter_paperbook/index.assets/book_jd_link.jpg b/docs/chapter_paperbook/index.assets/book_jd_link.jpg new file mode 100644 index 000000000..623ac8ca1 Binary files /dev/null and b/docs/chapter_paperbook/index.assets/book_jd_link.jpg differ diff --git a/docs/chapter_paperbook/index.assets/paper_book_avl_tree.jpg b/docs/chapter_paperbook/index.assets/paper_book_avl_tree.jpg new file mode 100644 index 000000000..c559a76be Binary files /dev/null and b/docs/chapter_paperbook/index.assets/paper_book_avl_tree.jpg differ diff --git a/docs/chapter_paperbook/index.assets/paper_book_chapter_heap.jpg b/docs/chapter_paperbook/index.assets/paper_book_chapter_heap.jpg new file mode 100644 index 000000000..9789e45b1 Binary files /dev/null and b/docs/chapter_paperbook/index.assets/paper_book_chapter_heap.jpg differ diff --git a/docs/chapter_paperbook/index.assets/paper_book_overview.jpg b/docs/chapter_paperbook/index.assets/paper_book_overview.jpg new file mode 100644 index 000000000..400e37f55 Binary files /dev/null and b/docs/chapter_paperbook/index.assets/paper_book_overview.jpg differ diff --git a/docs/chapter_paperbook/index.md b/docs/chapter_paperbook/index.md new file mode 100644 index 000000000..7bd0db6e7 --- /dev/null +++ b/docs/chapter_paperbook/index.md @@ -0,0 +1,67 @@ +--- +comments: true +icon: fontawesome/solid/book +status: new +--- + +# 纸质书介绍 + +经过长时间的打磨,《Hello 算法》纸质书终于发布了!此时的心情可以用一句诗来形容: + +

追风赶月莫停留,平芜尽处是春山。

+ +![](index.assets/paper_book_overview.jpg){ class="animation-figure" } + +以下视频展示了纸质书,并且包含我的一些思考: + +- 学习数据结构与算法的重要性。 +- 为什么在纸质书中选择 Python。 +- 对知识分享的理解。 + +> 新人 UP 主,请多多关照、一键三连~谢谢! + +
+ +
+ +附纸质书快照: + +![](index.assets/paper_book_chapter_heap.jpg){ class="animation-figure" } + +![](index.assets/paper_book_avl_tree.jpg){ class="animation-figure" } + +## 优势与不足 + +总结一下纸质书可能会给大家带来惊喜的地方: + +- 采用全彩印刷,能够原汁原味地发挥出本书“动画图解”的优势。 +- 考究纸张材质,既保证色彩高度还原,也保留纸质书特有的质感。 +- 在不提升定价的前提下,附赠思维导图折页、书签。 +- 纸质书、网页版、PDF 版内容同步,随意切换阅读。 + +!!! tip + + 由于纸质书和网页版的同步成本较大,因此可能会有一些细节上的不同,请您见谅! + +当然,纸质书也有一些值得大家入手前考虑的地方: + +- 使用 Python 语言,可能不匹配你的主语言(也许可以趁此机会练习 Python)。 +- 全彩印刷虽然大幅提升了阅读体验,但价格会比黑白印刷高一些。 + +!!! tip + + “印刷质量”和“价格”就像算法中的“时间效率”和“空间效率”,难以两全。而我认为,“印刷质量”对应的是“时间效率”,更应该被注重。 + +## 购买链接 + +如果你对纸质书感兴趣,可以考虑入手一本。我们为大家争取到了新书 5 折优惠,请见[此链接](https://3.cn/-1Wwj1jq)或扫描以下二维码: + +![](index.assets/book_jd_link.jpg){ class="animation-figure" } + +## 尾记 + +起初,我低估了纸质书出版的工作量,以为只要维护好了开源项目,纸质版就可以通过某些自动化手段生成出来。实践证明,纸质书的生产流程与开源项目的更新机制存在很大的不同,两者之间的转化需要做许多额外工作。 + +一本书的初稿与达到出版标准的定稿之间仍有较长距离,需要出版社(策划、编辑、设计、市场等)与作者的通力合作、长期雕琢。在此,在此感谢图灵策划编辑王军花、以及人民邮电出版社和图灵社区每位参与本书出版流程的工作人员! + +希望这本书能够帮助到你! diff --git a/docs/chapter_reference/index.md b/docs/chapter_reference/index.md index 99836a3f0..80e29189b 100644 --- a/docs/chapter_reference/index.md +++ b/docs/chapter_reference/index.md @@ -1,3 +1,7 @@ +--- +icon: material/bookshelf +--- + # 参考文献 [1] Thomas H. Cormen, et al. Introduction to Algorithms (3rd Edition). diff --git a/docs/index.html b/docs/index.html index d3c40f3e6..52d3dbd66 100644 --- a/docs/index.html +++ b/docs/index.html @@ -140,11 +140,17 @@
-
- Cover -
- 纸质书
(即将发布)
-
+ +
+ Cover +
+ 获取纸质书 + + + +
+
diff --git a/mkdocs.yml b/mkdocs.yml index 37ec6b585..dfc9c3efd 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -287,7 +287,9 @@ nav: - chapter_appendix/index.md - 16.1   编程环境安装: chapter_appendix/installation.md - 16.2   一起参与创作: chapter_appendix/contribution.md - # [status: new] - 16.3   术语表: chapter_appendix/terminology.md - 参考文献: - chapter_reference/index.md + - 纸质书介绍: + # [status: new] + - chapter_paperbook/index.md diff --git a/overrides/main.html b/overrides/main.html index 1e12c6591..3a70e0096 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -2,9 +2,9 @@ {% block announce %} {% if config.theme.language == 'zh' %} - {% set announcements = "纸质书将于近期发布,敬请关注!" %} + {% set announcements = '纸质书已发布,详情请见纸质书介绍' %} {% elif config.theme.language == 'en' %} - {% set announcements = "The paper book (Chinese edition) will be published soon. Stay tuned!" %} + {% set announcements = 'The paper book (Chinese edition) published. Please visit this link for more details.' %} {% endif %}