Power set: Difference between revisions
Content deleted Content added
m Undo revision 85229 by 141.70.93.106 (Talk) Works fine without the algorithm header |
J: explain last example |
||
Line 643: | Line 643: | ||
#ps ~.1 2 3 2 1 |
#ps ~.1 2 3 2 1 |
||
8</lang> |
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}}== |
=={{header|Java}}== |