Bubble sort
Computer Science · Algorithms
Loading practice question…
About this practice set
Bubble sort is part of Computer Science (Algorithms). Questions are generated with new numbers each time you practise. Levels available: Easy. After you answer, an explanation is shown.
Example questions
A taste of what you will practise. Answers are revealed after you try.
Easy
What does bubble sort do?
- Repeatedly swaps adjacent out-of-order items
- Splits and merges
- Picks the minimum each pass
- Counts occurrences