javascript-algorithms-and-data-structures
Version:
Algorithms and data-structures implemented on JavaScript
13 lines (7 loc) • 373 B
Markdown
# 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}}`

## References
* [Wikipedia](https://en.wikipedia.org/wiki/Power_set)
* [Math is Fun](https://www.mathsisfun.com/sets/power-set.html)