translation: Capitalize all the headers, list headers and figure captions (#1206)

* Capitalize all the headers, list headers and figure captions

* Fix the term "LRU"

* Fix the names of source code link in avl_tree.md

* Capitalize only first letter for nav trees in mkdocs.yml

* Update code comments

* Update linked_list.md

* Update linked_list.md
This commit is contained in:
Yudong Jin
2024-04-04 17:09:53 +08:00
committed by GitHub
parent 5e2eef0b4d
commit 07f7eb12ff
34 changed files with 376 additions and 376 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
# What is an Algorithm
# What is an algorithm
## Definition of an Algorithm
## Definition of an algorithm
An "algorithm" is a set of instructions or steps to solve a specific problem within a finite amount of time. It has the following characteristics:
@@ -8,7 +8,7 @@ An "algorithm" is a set of instructions or steps to solve a specific problem wit
- The algorithm is feasible, meaning it can be completed within a finite number of steps, time, and memory space.
- Each step has a definitive meaning. The output is consistently the same under the same inputs and conditions.
## Definition of a Data Structure
## Definition of a data structure
A "data structure" is a way of organizing and storing data in a computer, with the following design goals:
@@ -21,7 +21,7 @@ A "data structure" is a way of organizing and storing data in a computer, with t
- Compared to arrays, linked lists offer more convenience in data addition and deletion but sacrifice data access speed.
- Graphs, compared to linked lists, provide richer logical information but require more memory space.
## Relationship Between Data Structures and Algorithms
## Relationship between data structures and algorithms
As shown in the figure below, data structures and algorithms are highly related and closely integrated, specifically in the following three aspects:
@@ -37,7 +37,7 @@ Data structures and algorithms can be likened to a set of building blocks, as il
The detailed correspondence between the two is shown in the table below.
<p align="center"> Table <id> &nbsp; Comparing Data Structures and Algorithms to Building Blocks </p>
<p align="center"> Table <id> &nbsp; Comparing data structures and algorithms to building blocks </p>
| Data Structures and Algorithms | Building Blocks |
| ------------------------------ | --------------------------------------------------------------- |