Classic Bin Packing Problem
I am so new at this and would love it if somebody could help me code this for my school assignment..
b
The problem that I have to solve is this.. : I have five different possible solutions First Fit, First Fit with Sorting, Best Fit, Best Fit with Sorting and Optimal Fit
In this problem all the boxes are of the same size.. I am using arrays.. not vectors for this assignment because we have not be taught vectors yet.
First Fit
1. Start out with all the items outside of bins, and only one bin(the left most)
2. Attempt to place an item in a bin starting from the leftmost
3, If there is not enough room in any of the bins, create a new one to the right of the others and place it there.
4. Repeat step 2 - 4 for every item..
Going to leave it at that... if anybody is interested in helping I have the full assignment I can send you .. Thanks so much..

