Given an array nums of distinct integers, return all possible subsets (the power set). The list of subsets may be in any order ; within each subset keep the elements in their original array order. Input format Input is [nums] , e.g. [[1,2,3]] .