Sorting algorithms

EasyMediumHard
12345678910111213141516171819202122232425262728293031323334353637
Question 10
Medium

Complete the table below to show how the merge sort algorithm operates on the given array of numbers.

The first row shows the starting array, and the final row shows the sorted array. Fill in the values for the two intermediate rows showing the steps of the merge process.

Starting array:

62835174

Row 2 (after merging sublists of size 1):

Row 3 (after merging sublists of size 2):

Final sorted array:

12345678
[3]

Sorting algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Sorting algorithms