0
Generate All Partition Keys
Given a set of unique values, a partition of that set is a group of disjoint subsets such that each value is included in one and only one of those subsets.
For example, there are five partitions of {a, b, c}.
{a, b, c}
{a, b} {c}
{a, c} {b}
{a} {b, c}
{a} {b} {c}
...