
Day-6: Bubble Sort
Bubble Sort is also a very inefficient and easy sorting algorithm.
The algorithm takes an array and sorts it by comparing every two consecutive elements and placing them in correct order.
Time complexity: O(n^2)
Here is the link of my C++ implementation of Bubble Sort: Bubble Sort