Date: Oct 19, 2007 12:46 AM
Author: Patricia Shanahan
Subject: Re: Algorithm for deriving permutations
Water Cooler v2 wrote:
> Thanks very much, Randy. I already had that in mind to start off with.
> I thought it would be too cumbersome as in the actual problem I have
> at hand, the number of "fruits" are about 255 and the number of boxes,
> about 60. But you've reminded me that I could use recursion, so
> thanks. Instead of the 255 for loops, I could use a recursive
Jokes about using multiple universes aside, you need to reconsider your
approach at a higher level. You need some way of solving the motivating
problem that does not involve exhaustively listing all the combinations.