Question 3.17

17. When the bins have capacity 5, the next-fit (NF) bin-packing algorithm applied to the list 3, 2, 4, 1, 1, 4, 4 uses

  1. 7 bins.
  2. 4 bins.
  3. 5 bins.

17.

b