"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by marc weber:
If I'm understanding this: From the first ArrayList (with x elements), you might select 1 element, or you might select 2 elements, or 3, or ... x. Then from the second ArrayList (with y elements), you might select 1 element, or 2, or ... y. And so on.
Originally posted by Corey McGlone:
I was under the impression that you'd only ever select one element from each list. Each combination in made up of one element from each list.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by marc weber:
That's what was illustrated in the original example, but the associated text says, "selecting at least one from each arraylist." So it's not entirely clear.
James Carman, President<br />Carman Consulting, Inc.
42
Originally posted by Horatio Westock:
ML reminds me of long nights in the CS lab. Prolog reminds me of long nights in the AI lab. Now while I appreciate what those nights taught me (aside from how to play human bowling using office chairs) - I never want to do it again!
Sun Certified Programmer for the Java 2 Platform
Sun Certified Programmer for the Java 2 Platform
There's a way to do it better - find it. -Edison. A better tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|