Question: Using the first fit (FF) bin-packing algorithm to pack the following weights into bins that hold no more than 9 lbs, how many bins

Using the first fit (FF) bin-packing algorithm to pack the following weights

Using the first fit (FF) bin-packing algorithm to pack the following weights into bins that hold no more than 9 lbs, how many bins do you need? 9 lbs, 5 lbs, 7 lbs, 2 lbs, 4 lbs, 5 lbs, 1 lb, 1 lb, 3 lbs, 6 lbs, 2 lbs.

Step by Step Solution

3.51 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem using the first fit FF binpacking algorithm we start by placing the first item ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!