Sorting algorithms

EasyMediumHard
12345678910111213141516171819202122232425262728293031323334353637
Question 17
Medium

Show the steps involved, for either the bubble sort algorithm or the merge sort algorithm, to sort the array shown in Figure 1 so the result is [2,3,7,8][2, 3, 7, 8][2,3,7,8].

Figure 1 [7, 2, 8, 3]

Indicate which algorithm you have chosen by writing its name at the start of your answer:

  • Bubble sort
  • Merge sort
[8]

Sorting algorithms Questions

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