Bin Packing Problem
Bin Packing Problem
Bin Packing Problem
• These algorithms are for Bin Packing problems where items arrive one
at a time (in unknown order), each must be put in a bin, before
considering the next item.
1. Next Fit:
When processing next
item, check if it fits in
the same bin as the
last item. Use a new
bin only if it does not.
2. First Fit: