This commit is contained in:
krahets
2023-02-26 18:18:03 +08:00
parent 281b756ddf
commit e82934bc32
34 changed files with 150 additions and 229 deletions
+1 -3
View File
@@ -1645,9 +1645,7 @@
<li>待排序的列表的 <strong>元素类型</strong> 可以是整数、浮点数、字符、或字符串;</li>
<li>排序算法可以根据需要设定 <strong>判断规则</strong>,例如数字大小、字符 ASCII 码顺序、自定义规则;</li>
</ul>
<p><img alt="sorting_examples" src="../intro_to_sort.assets/sorting_examples.png" /></p>
<p align="center"> Fig. 排序中的不同元素类型和判断规则 </p>
<p><img alt="排序中不同的元素类型和判断规则" src="../intro_to_sort.assets/sorting_examples.png" /></p>
<h2 id="1111">11.1.1. &nbsp; 评价维度<a class="headerlink" href="#1111" title="Permanent link">&para;</a></h2>
<p>排序算法主要可根据 <strong>稳定性 、就地性 、自适应性 、比较类</strong> 来分类。</p>
<h3 id="_1">稳定性<a class="headerlink" href="#_1" title="Permanent link">&para;</a></h3>