mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-09 22:00:52 +08:00
deploy
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<link rel="canonical" href="https://www.hello-algo.com/chapter_sorting/summary/">
|
||||
|
||||
|
||||
<link rel="prev" href="../bucket_sort/">
|
||||
<link rel="prev" href="../radix_sort/">
|
||||
|
||||
|
||||
<link rel="next" href="../../chapter_appendix/installation/">
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
|
||||
<title>11.8. 小结 - Hello 算法</title>
|
||||
<title>11.9. 小结 - Hello 算法</title>
|
||||
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
<div data-md-component="skip">
|
||||
|
||||
|
||||
<a href="#118" class="md-skip">
|
||||
<a href="#119" class="md-skip">
|
||||
跳转至
|
||||
</a>
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
<div class="md-header__topic" data-md-component="header-topic">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
11.8. 小结
|
||||
11.9. 小结
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@@ -1361,6 +1361,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1452,8 +1454,8 @@
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../counting_sort/" class="md-nav__link">
|
||||
11.6. 计数排序(New)
|
||||
<a href="../bucket_sort/" class="md-nav__link">
|
||||
11.6. 桶排序(New)
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -1466,8 +1468,22 @@
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../bucket_sort/" class="md-nav__link">
|
||||
11.7. 桶排序(New)
|
||||
<a href="../counting_sort/" class="md-nav__link">
|
||||
11.7. 计数排序(New)
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../radix_sort/" class="md-nav__link">
|
||||
11.8. 基数排序(New)
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -1490,7 +1506,7 @@
|
||||
|
||||
|
||||
<a href="./" class="md-nav__link md-nav__link--active">
|
||||
11.8. 小结
|
||||
11.9. 小结
|
||||
</a>
|
||||
|
||||
</li>
|
||||
@@ -1663,7 +1679,7 @@
|
||||
|
||||
|
||||
|
||||
<h1 id="118">11.8. 小结<a class="headerlink" href="#118" title="Permanent link">¶</a></h1>
|
||||
<h1 id="119">11.9. 小结<a class="headerlink" href="#119" title="Permanent link">¶</a></h1>
|
||||
<ul>
|
||||
<li>冒泡排序通过交换相邻元素来实现排序。通过增加标志位实现提前返回,我们可将冒泡排序的最佳时间复杂度优化至 <span class="arithmatex">\(O(N)\)</span> 。</li>
|
||||
<li>插入排序每轮将待排序区间内元素插入至已排序区间的正确位置,从而实现排序。插入排序的时间复杂度虽为 <span class="arithmatex">\(O(N^2)\)</span> ,但因为总体操作少而很受欢迎,一般用于小数据量的排序工作。</li>
|
||||
@@ -1754,7 +1770,7 @@
|
||||
<nav class="md-footer__inner md-grid" aria-label="页脚" >
|
||||
|
||||
|
||||
<a href="../bucket_sort/" class="md-footer__link md-footer__link--prev" aria-label="上一页: 11.7. &nbsp; 桶排序(New)" rel="prev">
|
||||
<a href="../radix_sort/" class="md-footer__link md-footer__link--prev" aria-label="上一页: 11.8. &nbsp; 基数排序(New)" rel="prev">
|
||||
<div class="md-footer__button md-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
|
||||
</div>
|
||||
@@ -1763,7 +1779,7 @@
|
||||
<span class="md-footer__direction">
|
||||
上一页
|
||||
</span>
|
||||
11.7. 桶排序(New)
|
||||
11.8. 基数排序(New)
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user