Skip to content

Commit 6d27bb9

Browse files
committed
Added data and option for Heap Sort.
1 parent 41d1fb8 commit 6d27bb9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<select id="algorithms">
3333
<option value="bubble">Bubble Sort</option>
3434
<option value="comb">Comb Sort</option>
35+
<option value="heap">Heap Sort</option>
3536
<option value="insertion">Insertion Sort</option>
3637
<option value="selection">Selection Sort</option>
3738
<option value="shell">Shell Sort</option>
@@ -68,6 +69,14 @@ <h2 class="algo-header">Comb Sort</h2>
6869
</span>
6970
</div>
7071

72+
<div id="heap-info" class="algo-container hidden">
73+
<h2 class="algo-header">Heap Sort</h2>
74+
<span class="algo-details">
75+
Heap sort is a comparison based sorting technique based on Binary Heap data structure. It is similar to selection sort where we
76+
first find the maximum element and place the maximum element at the end. We repeat the same process for remaining element.
77+
</span>
78+
</div>
79+
7180
<div id="insertion-info" class="algo-container hidden">
7281
<h2 class="algo-header">Insertion Sort</h2>
7382
<span class="algo-details">

0 commit comments

Comments
 (0)