What is the mechanism of the bubble sort
Answers
Answered by
1
Answer:
Bubble Sort compares all the element one by one and sort them based on their values. ... Sorting takes place by stepping through all the elements one-by-one and comparing it with the adjacent element and swapping them if required.
Hope it helps you ^_^
Similar questions