October 2025
Intermediate to advanced
485 pages
13h 2m
English
The following exercises provide you with the opportunity to practice with Mergesort and bytecode. The solutions to these exercises are found in the section Chapter 1.
Say that we want to Mergesort the array [1, 5, 2, 7, 4, 3, 6, 8]. Fill in the chart to demonstrate how Mergesort recursively breaks down the array:

Let’s continue with the example from the previous exercise. Fill in the next chart to show how Mergesort merges all the values to produce a completely sorted array:

New Concept: Each data element that follows consists of ...
Read now
Unlock full access