Bubble Sort Algorithm
The bubble sorting algorithm is an in-place sorting algorithm, where a comparison is made to sort the array.
Example:
Let's say we have an unsorted list of numbers: [5, 2, 9, 1, 5, 6]
Step 1: In the first pass, we start comparing adjacent elements fr...
subidsa.hashnode.dev3 min read