mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-22 21:01:50 +08:00
Documentation for db3f9d3406
This commit is contained in:
@@ -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_md115"></a>
|
||||
<h3><a class="anchor" id="autotoc_md116"></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>
|
||||
|
||||
Reference in New Issue
Block a user