Given an integer array (of length n), find and return all the subsets of input array. So I have solved this problem but I\'m not sure about the underlying concept at work he