Power set: Difference between revisions

Content deleted Content added
Toucan (talk | contribs)
Toucan (talk | contribs)
Line 665:
Combinations([1, 2, 3]);
# [ [ ], [ 1 ], [ 1, 2 ], [ 1, 2, 3 ], [ 1, 3 ], [ 2 ], [ 2, 3 ], [ 3 ] ]
 
# Note that it handles duplicates
Combinations([1, 2, 3, 1]);