mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-09 22:16:06 +00:00
build
This commit is contained in:
@@ -15,7 +15,7 @@ comments: true
|
||||
完成此次冒泡操作后,**数组最大元素已在正确位置,接下来只需排序剩余 $n - 1$ 个元素**。
|
||||
|
||||
=== "<1>"
|
||||

|
||||

|
||||
|
||||
=== "<2>"
|
||||

|
||||
@@ -35,8 +35,6 @@ comments: true
|
||||
=== "<7>"
|
||||

|
||||
|
||||
<p align="center"> Fig. 冒泡操作 </p>
|
||||
|
||||
## 11.2.1. 算法流程
|
||||
|
||||
1. 设数组长度为 $n$ ,完成第一轮「冒泡」后,数组最大元素已在正确位置,接下来只需排序剩余 $n - 1$ 个元素。
|
||||
|
||||
Reference in New Issue
Block a user