Sorting algorithms - Bubble sort algorithm







Video credits: MyCodeSchool

 

In our previous lesson, we had discussed Selection Sort algorithm.

Now in this lesson, we are going to discuss another sorting algorithm, named Bubble Sort.

Bubble sort is a slow sorting algorithm, it's as good as Selection Sort but both Bubble sort and Selection sort are slow sorting algorithms. 

Bubble Sort is in place and stable sorting algorithm and it's time complexity which is Big-Oh(n^2) in the worst case. 


No problems available for this topic.