Question 1
The values below represent the weights of eleven suitcases, in kg.
23 15 17 10 35 18 12 21 22 11 8
Show the result of applying the first fit algorithm to pack the weights into containers that can
hold a maximum of 50 kg.
[2]
Answer
Show the result of applying the first fit decreasing algorithm to pack the weights into
containers that can hold a maximum of 50 kg.
[2]
Answer
Give a reason why the number of containers used for the packing of the suitcases in part (b)
is optimal.
[1]
Answer