Input the length of Array(Less than 21)

INPUT THE ELEMENTS SEPARATED WITH A SPACE

INSTRUCTIONS



Bubble Sort

Bubble sort is a famous, an easy sorting Algorithm.
It swaps the adjacent elements to sort the array.
Worst - case Complexity : O(n2)
Average - case Complexity : O(n2)
Best - case Complexity : O(n)