Power set: Difference between revisions
J: explain last example
m (Undo revision 85229 by 141.70.93.106 (Talk) Works fine without the algorithm header) |
(J: explain last example) |
||
Line 643:
#ps ~.1 2 3 2 1
8</lang>
In other words, the power set of a 5 element set has 32 sets where the power set of a 3 element set has 8 sets. Thus if elements of the original "set" were not unique then sets of the power "set" will also not be unique sets.
=={{header|Java}}==
|