Documentation for da53b26bde

This commit is contained in:
realstealthninja
2025-05-19 14:24:44 +00:00
parent 4c91b29d4a
commit a868ea9b06
9 changed files with 520 additions and 509 deletions

View File

@@ -168,7 +168,7 @@ Functions</h2></td></tr>
<dl class="section author"><dt>Author</dt><dd><a href="https://adityaprakash.tech" target="_blank">Aditya Prakash</a> </dd></dl>
<p>The working principle of the Bubble sort algorithm.</p>
<p>Bubble sort is a simple sorting algorithm used to rearrange a set of ascending or descending order elements. Bubble sort gets its name from the fact that data "bubbles" to the top of the dataset.</p>
<h3><a class="anchor" id="autotoc_md116"></a>
<h3><a class="anchor" id="autotoc_md118"></a>
Algorithm</h3>
<p>What is Swap?</p>
<p>Swapping two numbers means that we interchange their values. Often, an additional variable is required for this operation. This is further illustrated in the following:</p>