Question 1
12 15 11 9 20 16 8 23 10 7
Apply the quick sort algorithm to sort the list of numbers into descending order. You should
use the first value as the pivot for each sublist.
[3]
Answer
The values represent masses, measured in kg.
Show the result of applying the first fit decreasing algorithm to pack these masses into bags
that can each hold a maximum of 40 kg.
[2]
Answer
Show the result of applying a full bin strategy to pack these masses into bags that can each
hold a maximum of 40 kg.
[2]
Answer