diff --git a/chapter_sorting/selection_sort.assets/selection_sort_unstable.png b/chapter_sorting/selection_sort.assets/selection_sort_instability.png similarity index 100% rename from chapter_sorting/selection_sort.assets/selection_sort_unstable.png rename to chapter_sorting/selection_sort.assets/selection_sort_instability.png diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step1.png b/chapter_sorting/selection_sort.assets/selection_sort_step1.png index f884b631c..69b3fbd71 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step1.png and b/chapter_sorting/selection_sort.assets/selection_sort_step1.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step10.png b/chapter_sorting/selection_sort.assets/selection_sort_step10.png index 60dfe309a..e4c380490 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step10.png and b/chapter_sorting/selection_sort.assets/selection_sort_step10.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step11.png b/chapter_sorting/selection_sort.assets/selection_sort_step11.png index ebf8a1967..66744dfcb 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step11.png and b/chapter_sorting/selection_sort.assets/selection_sort_step11.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step2.png b/chapter_sorting/selection_sort.assets/selection_sort_step2.png index 207e388de..c0ce09958 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step2.png and b/chapter_sorting/selection_sort.assets/selection_sort_step2.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step3.png b/chapter_sorting/selection_sort.assets/selection_sort_step3.png index 394d997f0..2ae9d025c 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step3.png and b/chapter_sorting/selection_sort.assets/selection_sort_step3.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step4.png b/chapter_sorting/selection_sort.assets/selection_sort_step4.png index 33c279237..2618ec7e3 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step4.png and b/chapter_sorting/selection_sort.assets/selection_sort_step4.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step5.png b/chapter_sorting/selection_sort.assets/selection_sort_step5.png index 867d3172f..b91f8e89f 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step5.png and b/chapter_sorting/selection_sort.assets/selection_sort_step5.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step6.png b/chapter_sorting/selection_sort.assets/selection_sort_step6.png index 0f18e5d55..887192b16 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step6.png and b/chapter_sorting/selection_sort.assets/selection_sort_step6.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step7.png b/chapter_sorting/selection_sort.assets/selection_sort_step7.png index 49a93b5e1..155cb029c 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step7.png and b/chapter_sorting/selection_sort.assets/selection_sort_step7.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step8.png b/chapter_sorting/selection_sort.assets/selection_sort_step8.png index 0fdac8f30..793123f74 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step8.png and b/chapter_sorting/selection_sort.assets/selection_sort_step8.png differ diff --git a/chapter_sorting/selection_sort.assets/selection_sort_step9.png b/chapter_sorting/selection_sort.assets/selection_sort_step9.png index 88d145520..6676c5adb 100644 Binary files a/chapter_sorting/selection_sort.assets/selection_sort_step9.png and b/chapter_sorting/selection_sort.assets/selection_sort_step9.png differ diff --git a/chapter_sorting/selection_sort/index.html b/chapter_sorting/selection_sort/index.html index ebbb973cf..400a3bbba 100644 --- a/chapter_sorting/selection_sort/index.html +++ b/chapter_sorting/selection_sort/index.html @@ -2016,7 +2016,7 @@
  • 空间复杂度 \(O(1)\) 、原地排序:指针 \(i\) , \(j\) 使用常数大小的额外空间。
  • 非稳定排序:在交换元素时,有可能将 nums[i] 交换至其相等元素的右边,导致两者的相对顺序发生改变。
  • -

    选择排序非稳定示例

    +

    选择排序非稳定示例

    Fig. 选择排序非稳定示例

    diff --git a/sitemap.xml.gz b/sitemap.xml.gz index 9f341ee5c..dbf0cee0a 100644 Binary files a/sitemap.xml.gz and b/sitemap.xml.gz differ