Hi all,
I have a programming problem and am not sure what's the best way to come to
a solution.
Problem:
I want to know how many blocks fit into a box. The blocks are all the same
size, but are not cubes. So you can put them upstraight or lay down. Or
start a layer upstraight and then a layer layed down. Any number of
possibilities.
Does anyone have a good idea on attacking this problem?
There are only 6 ways to turn a block, so maybe some recursive routine is a
possibility.
Another problem is how to store and show the solution, but that is of later
concern.
Thanks in advance
Frank