Ola Interview Question

Find all possible subsets given array