Day-6: Bubble Sort

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

Author face

Abdurrezzak Efe

Bilkent University Bachelor's in CS 2018'

Recent post