Cartesian product and “n choose k”
Best match between collections
previous
How to sort arrays and inner arrays
next
How to find all combinations of elements: Cartesian (cross) product and “n choose k”