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
2min

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

Easy
3min

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

Easy
4min

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

Easy
2min
Sign up to access Practice Questions
Get full access to our content with a Mathspace account

What is Mathspace

About Mathspace