Friday, February 18, 2011

boxes: store them in minimal space

You have a set of n boxes, each one has dimensions (x, y, z) and you want to store them in minimal space. How do you proceed?

1 comment:

  1. n boxes of size (x, y, z) can be stored in only one way. And that way will take nxyz cubic-unit space. Rest of the universe will be empty. That is the trick answer. You probably mean that we want to put this n bozes in another box of size (X, Y, Z). What dimenssions should we choose?