Insertion sort
Computer Science · Algorithms
Loading practice question…
About this practice set
Insertion 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
Insertion sort builds a sorted list by:
- Inserting each item into its place
- Merging halves
- Swapping extremes
- Randomising