NZ Level 8 (NZC) Level 3 (NCEA) [In development]
topic badge
Sorting Algorithms

Interactive practice questions

Use the insertion sort algorithm to arrange these numbers in ascending order.

$8,3,2,1,5,4$8,3,2,1,5,4

Write one step of the insertion sort at a time, separating the numbers in the step with commas.

Easy
Approx 2 minutes
Sign up to try all questions

We want to use the insertion sort algorithm to manually sort the following set of data and then find the median.

$72,26,63,48,31,55,17$72,26,63,48,31,55,17

We want to use the insertion sort algorithm to manually sort the following set of data and then find the median.

$864,332,225,777,626,168,493,533$864,332,225,777,626,168,493,533

We want to use the bucket sort algorithm to manually sort the following set of data and then find the median.

$5,7,9,4,3,6,4,1,2,3,6,7,8,9,5,2,1,5$5,7,9,4,3,6,4,1,2,3,6,7,8,9,5,2,1,5

What is Mathspace

About Mathspace