Edgestream interview question

Generate all subsets of a set