Ola interview question

Find all possible subsets given array