Basics-Wrapup

View on GitHub

Bubble Sort

Sorting Techniques

Stable Sorting UML Diagram

Not Stable Sorting changes the sequence of similar content in which they appear. Not Stable Sorting UML Diagram

Bubble Sorting

it is comparison-based algorithm in which each pair of adjacent elements is compared and the elements are swapped if they are not in order.

average and worst case Time complexity are of Ο(n2) where n is the number of items