mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 14:18:20 +08:00 
			
		
		
		
	Modify the chapter names.
Fix the definition of algorithm. Update the buttons in the landing page.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 136 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 118 KiB  | 
@ -1,7 +1,7 @@
 | 
			
		||||
# 引言
 | 
			
		||||
# 初识算法
 | 
			
		||||
 | 
			
		||||
<div class="center-table" markdown>
 | 
			
		||||
 | 
			
		||||
{ width="70%" }
 | 
			
		||||
{ width="70%" }
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@
 | 
			
		||||
 | 
			
		||||
「算法 Algorithm」是在有限时间内解决特定问题的一组指令或操作步骤。算法具有以下特性:
 | 
			
		||||
 | 
			
		||||
- 问题是明确的,具有清晰的输入和输出定义。
 | 
			
		||||
- 解具有确定性,即给定相同的输入时,输出始终相同。
 | 
			
		||||
- 具有可行性,在有限步骤、时间和内存空间下可完成。
 | 
			
		||||
- 问题是明确的,包含清晰的输入和输出定义。
 | 
			
		||||
- 具有可行性,能够在有限步骤、时间和内存空间下完成。
 | 
			
		||||
- 各步骤都有确定的含义,相同的输入和运行条件下,输出始终相同。
 | 
			
		||||
 | 
			
		||||
## 数据结构定义
 | 
			
		||||
 | 
			
		||||
@ -14,7 +14,7 @@
 | 
			
		||||
 | 
			
		||||
- 空间占用尽量减少,节省计算机内存。
 | 
			
		||||
- 数据操作尽可能快速,涵盖数据访问、添加、删除、更新等。
 | 
			
		||||
- 提供简洁的数据表示和逻辑信息,以利于算法高效运行。
 | 
			
		||||
- 提供简洁的数据表示和逻辑信息,以便使得算法高效运行。
 | 
			
		||||
 | 
			
		||||
数据结构设计是一个充满权衡的过程,这意味着要在某方面取得优势,往往需要在另一方面作出妥协。例如,链表相较于数组,在数据添加和删除操作上更加便捷,但牺牲了数据访问速度;图相较于链表,提供了更丰富的逻辑信息,但需要占用更大的内存空间。
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
# 写在前面
 | 
			
		||||
# 前言
 | 
			
		||||
 | 
			
		||||
<div class="center-table" markdown>
 | 
			
		||||
 | 
			
		||||
{ width="70%" }
 | 
			
		||||
{ width="70%" }
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
@ -17,12 +17,11 @@ hide:
 | 
			
		||||
 | 
			
		||||
<p align="center">
 | 
			
		||||
  <a href="https://github.com/krahets/hello-algo">
 | 
			
		||||
    <img src="index.assets/btn_download_code_light.png#only-light" width="140">
 | 
			
		||||
    <img src="index.assets/btn_download_code_dark.png#only-dark" width="140">
 | 
			
		||||
    <img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/krahets/hello-algo?style=social&link=https%3A%2F%2Fgithub.com%2Fkrahets%2Fhello-algo">
 | 
			
		||||
  </a>
 | 
			
		||||
  <a href="https://github.com/krahets/hello-algo/releases">
 | 
			
		||||
    <img src="index.assets/btn_download_pdf_light.png#only-light" width="140">
 | 
			
		||||
    <img src="index.assets/btn_download_pdf_dark.png#only-dark" width="140">
 | 
			
		||||
   
 | 
			
		||||
  <a href="https://github.com/krahets/hello-algo">
 | 
			
		||||
    <img alt="GitHub contributors" src="https://img.shields.io/github/contributors-anon/krahets/hello-algo?style=social&logo=handshake&logoColor=%23101010">
 | 
			
		||||
  </a>
 | 
			
		||||
</p>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -124,12 +124,12 @@ extra_css:
 | 
			
		||||
 | 
			
		||||
# Page tree
 | 
			
		||||
nav:
 | 
			
		||||
  - 0.     写在前面:
 | 
			
		||||
  - 0.     前言:
 | 
			
		||||
    - chapter_preface/index.md
 | 
			
		||||
    - 0.1.   关于本书: chapter_preface/about_the_book.md
 | 
			
		||||
    - 0.2.   如何使用本书: chapter_preface/suggestions.md
 | 
			
		||||
    - 0.3.   小结: chapter_preface/summary.md
 | 
			
		||||
  - 1.     引言:
 | 
			
		||||
  - 1.     初识算法:
 | 
			
		||||
    - chapter_introduction/index.md
 | 
			
		||||
    - 1.1.   算法无处不在: chapter_introduction/algorithms_are_everywhere.md
 | 
			
		||||
    - 1.2.   算法是什么: chapter_introduction/what_is_dsa.md
 | 
			
		||||
@ -214,7 +214,7 @@ nav:
 | 
			
		||||
    - 12.5.   小结: chapter_backtracking/summary.md
 | 
			
		||||
  - 13.     动态规划:
 | 
			
		||||
    - chapter_dynamic_programming/index.md
 | 
			
		||||
    - 13.1.   初识动态规划: chapter_dynamic_programming/intro_to_dynamic_programming.md
 | 
			
		||||
    - 13.1.   初探动态规划: chapter_dynamic_programming/intro_to_dynamic_programming.md
 | 
			
		||||
  - 14.     附录:
 | 
			
		||||
    - 14.1.   编程环境安装: chapter_appendix/installation.md
 | 
			
		||||
    - 14.2.   一起参与创作: chapter_appendix/contribution.md
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user