Bloomberg Interview Question

Given a list return a list of all subsets