#bubble-sort
Read more stories on Hashnode
Articles with this tag
Procedure: If ar[j] > ar[j+1] then swap those elements When doing this, we'll observe that the largest element is going to the last of the array...