Now we need to figure out which direction the boxes face allow the most boxes to fit in the container, kindof like tetris.

I will round off all the numbers, since you cant fit a partial box in the container. (Length of the container) / (length of the box) = number of rows of boxes. (Width of the container) / (width of the box) = number of boxes per row. (Height of the container) / (height of the box) = number of rows per column. Then you just multiply the three numbers together to get the total number of boxes.

One way to pack them is: 232 / 10 = 23, 92 / 13 = 7, 94 / 17.5 = 5 23 * 7 * 5 = 805 total boxes

Another way to pack them is: 232 / 13 = 17, 92 / 10 = 9, 94 / 17.5 = 5 17 * 9 * 5 = 765 total boxes

I imagine this gives you a general idea how to do it. There is a total of 6 different ways you can pack the boxes into the container, not counting stacking some one way, others another way.