This commit is contained in:
chefyuan
2021-03-21 13:00:46 +08:00
parent d5ce40e3a9
commit 41b3be90ab
2 changed files with 7 additions and 6 deletions

View File

@@ -106,7 +106,7 @@ class Solution {
显然不是,我们冒泡排序的思想是两两比较**相邻记录**的关键字,注意里面有相邻记录,所以这段代码不是我们的冒泡排序,下面我们用动图来模拟一下冒泡排序的执行过程,看完之后一定可以写出正宗的冒泡排序。
![冒泡排序](https://cdn.jsdelivr.net/gh/tan45du/test1@master/20210122/冒泡排序.hch32qahpbc.gif)
![](https://img-blog.csdnimg.cn/20210321130011175.gif)
**题目代码**