Power Set Algorithm

In mathematics, the power set (or powerset) of any set S is the set of all subsets of S, including the empty set and S itself, variously denoted as P(S), 𝒫(S), ℘(S)In axiomatic set theory (as developed, for example, in the ZFC axioms), the beingness of the power set of any set is postulated by the axiom of power set.

Power Set source code, pseudocode and analysis