This commit is contained in:
krahets
2024-05-02 01:46:14 +08:00
parent a08cd961b3
commit 6d966b8b5d
30 changed files with 97 additions and 97 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ comments: true
## 1.2.1   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:
An <u>algorithm</u> is a set of instructions or steps to solve a specific problem within a finite amount of time. It has the following characteristics:
- The problem is clearly defined, including unambiguous definitions of input and output.
- The algorithm is feasible, meaning it can be completed within a finite number of steps, time, and memory space.
@@ -14,7 +14,7 @@ An "algorithm" is a set of instructions or steps to solve a specific problem wit
## 1.2.2 &nbsp; Definition of a data structure
A "data structure" is a way of organizing and storing data in a computer, with the following design goals:
A <u>data structure</u> is a way of organizing and storing data in a computer, with the following design goals:
- Minimize space occupancy to save computer memory.
- Make data operations as fast as possible, covering data access, addition, deletion, updating, etc.