Documentation for f789e3bb9e

This commit is contained in:
realstealthninja
2024-09-29 13:55:40 +00:00
parent 0f4f6ce798
commit e0e9107e7e
406 changed files with 3306 additions and 2185 deletions

View File

@@ -148,7 +148,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_md113"></a>
<h3><a class="anchor" id="autotoc_md111"></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>