Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ebf52e9

Browse files
committed
修复和优化语句表述
1 parent 8c9a41e commit ebf52e9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎docs/01_array/01_02_array_sort.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@
6868

6969
## 5. 总结
7070

71-
选择合适的排序算法需要综合考虑数据特征、环境约束和性能要求。在实际开发中,大多数编程语言的标准库都提供了经过优化的排序函数,这些函数通常结合了多种排序算法的优点,能够适应不同的数据特征。
71+
排序算法的核心目标是将数据按指定顺序排列。常见排序算法各有优缺点,选择时需结合数据规模、数据特性和实际需求。一般来说,小规模数据可用插入、冒泡等简单算法;大规模或高性能场景优先考虑快速排序、归并排序等高效算法。若有稳定性或空间限制等特殊要求,应优先选择满足条件的算法。理解各种排序的原理和适用场景,有助于在实际开发中做出最优选择。
72+

‎docs/01_array/01_13_array_binary_search_01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class Solution:
147147

148148
### 3.1 核心要点
149149

150-
**二分查找**是一种在**有序数组**中高效查找目标元素的算法,其核心思想是**每次将查找区间缩小一半**,从而快速定位目标位置。
150+
**二分查找**是一种在**有序数组**中高效查找目标元素的算法,其核心思想是**每次将查找区间缩小一半**,从而快速定位目标位置。
151151

152152
### 3.2 算法特点
153153

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /