mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-28 04:42:48 +08:00
deploy
This commit is contained in:
@ -1596,7 +1596,7 @@
|
||||
<div class="tabbed-set tabbed-alternate" data-tabs="1:7"><input checked="checked" id="__tabbed_1_1" name="__tabbed_1" type="radio" /><input id="__tabbed_1_2" name="__tabbed_1" type="radio" /><input id="__tabbed_1_3" name="__tabbed_1" type="radio" /><input id="__tabbed_1_4" name="__tabbed_1" type="radio" /><input id="__tabbed_1_5" name="__tabbed_1" type="radio" /><input id="__tabbed_1_6" name="__tabbed_1" type="radio" /><input id="__tabbed_1_7" name="__tabbed_1" type="radio" /><div class="tabbed-labels"><label for="__tabbed_1_1"><1></label><label for="__tabbed_1_2"><2></label><label for="__tabbed_1_3"><3></label><label for="__tabbed_1_4"><4></label><label for="__tabbed_1_5"><5></label><label for="__tabbed_1_6"><6></label><label for="__tabbed_1_7"><7></label></div>
|
||||
<div class="tabbed-content">
|
||||
<div class="tabbed-block">
|
||||
<p><img alt="bubble_operation_step1" src="../bubble_sort.assets/bubble_operation_step1.png" /></p>
|
||||
<p><img alt="冒泡操作步骤" src="../bubble_sort.assets/bubble_operation_step1.png" /></p>
|
||||
</div>
|
||||
<div class="tabbed-block">
|
||||
<p><img alt="bubble_operation_step2" src="../bubble_sort.assets/bubble_operation_step2.png" /></p>
|
||||
@ -1618,8 +1618,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p align="center"> Fig. 冒泡操作 </p>
|
||||
|
||||
<h2 id="1121">11.2.1. 算法流程<a class="headerlink" href="#1121" title="Permanent link">¶</a></h2>
|
||||
<ol>
|
||||
<li>设数组长度为 <span class="arithmatex">\(n\)</span> ,完成第一轮「冒泡」后,数组最大元素已在正确位置,接下来只需排序剩余 <span class="arithmatex">\(n - 1\)</span> 个元素。</li>
|
||||
|
Reference in New Issue
Block a user