Amazon interview question

Find all subsets given an array of numbers