6. An array 18.5.13,2,10.6 is 5.13.2.18,10,6 after three passes. Which sorting technique is
applied on it and what type of sorting is it?
[2]
Answers
Answered by
1
Answer:
Bubble sort
Explanation:
The bubble sort makes multiple passes through a list. It compares adjacent items and exchanges those that are out of order. Each pass through the list places the next largest value in its proper place. In essence, each item “bubbles” up to the location where it belongs.
Similar questions