in reply to Challenge: Generate fixed size combination across groups without duplicates
A sample to work with:Can't you just use standard techniques to pick all combinations of 2 out of a set of 4, picking pairs of groups, then for each pair, calculate the Cartesian product?group_1 = A B C group_2 = 1 2 3 4 group_3 = yellow blue green group_4 = tiny small medium large gigantic fixed_size = 2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Challenge: Generate fixed size combination across groups without duplicates
by Limbic~Region (Chancellor) on Nov 16, 2011 at 14:38 UTC | |
by Util (Priest) on Nov 17, 2011 at 02:56 UTC | |
by ikegami (Patriarch) on Nov 17, 2011 at 10:14 UTC | |
by Anonymous Monk on Dec 11, 2012 at 11:39 UTC |