Goldman Sachs Interview Question

Print all possible subsets of a set