Question 3.23

23. When the bins have capacity 5, the best-fit bin-packing algorithm applied to the list 2, 4, 1, 4, 3 packs which items in the second bin (listed from top to bottom)?

  1. 1, 4
  2. 4
  3. 4, 1

22.

1; 4