Question: Bin packing problem: Input: a set of items, each one of them with a specific size a set of bins, each with fixed capacity expect:

Bin packing problem:
Input:
a set of items, each one of them with a specific size
a set of bins, each with fixed capacity
expect:
without using more space than any bin can hold, place every item into the bare minimun number of bins
1. write pseudo code for a randomised algorithm to solve the bin packing problem.
2. give the example input and bin of the best case and worst case scenarios of algorithm.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!