mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-12-08 19:06:00 +00:00
Power Set
Power set of a set A is the set of all of the subsets of A.
Eg. for {x, y, z}, the subsets are : {{}, {x}, {y}, {z}, {x, y}, {x, z}, {y, z}, {x, y, z}}