4

So I have boxes of different sizes (squares). I have a Big Box (not a square). I have no guarantee that all of my boxes will fit, yet I need to try to fit as much as possible in a non-iterative manner without overlap. What algorithm allows for such non-iterative a box packing?

DuckQueen
  • 772
  • 10
  • 62
  • 134

1 Answers1

2

Here is it Bin Packing Algorithm, demo, start from biggets to lowest size and try search for the place.

Profesor08
  • 1,181
  • 1
  • 13
  • 20