From 5438eaf587d80403d284a12c880af84dfb76cbab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=A9=E5=B2=A9?= <68364461+oxyanyano@users.noreply.github.com> Date: Tue, 29 Mar 2022 12:24:29 +0800 Subject: [PATCH] =?UTF-8?q?Update=208.4=E5=86=92=E6=B3=A1=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=EF=BC=88=E7=A8=B3=E5=AE=9A=EF=BC=89.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 8.4冒泡排序(稳定).md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/8.4冒泡排序(稳定).md b/8.4冒泡排序(稳定).md index aaa583c..2f9a13e 100644 --- a/8.4冒泡排序(稳定).md +++ b/8.4冒泡排序(稳定).md @@ -1,8 +1,8 @@ ## 冒泡排序——Bubble Sort -![uTools_1638450353573](F:\408数据结构\图片\uTools_1638450353573.png) +![uTools_1638450353573](https://github.com/oxyanyano/2022-WangDao-CS-DS-Notes/blob/main/images/uTools_1638450353573.png) -![uTools_1638449861667](F:\408数据结构\图片\uTools_1638449861667.png) +![uTools_1638449861667](https://github.com/oxyanyano/2022-WangDao-CS-DS-Notes/blob/main/images/uTools_1638449861667.png) `冒泡排序`是一种简单的排序算法。它重复地走访过要排序的数列,`一次比较两个元素`,如果它们的顺序错误就把它们交换过来。走访数列的工作是重复地进行直到没有再需要交换,也就是说该数列已经排序完成。这个算法的名字由来是因为`越小的元素会经由交换慢慢“浮”到数列的顶端`。 @@ -55,4 +55,4 @@ void BubbleSort(int A[],int n){ 算法稳定性:`稳定` -顺序表和链表都可以。 \ No newline at end of file +顺序表和链表都可以。