A more complicated version of Number of Islands.
Subsets problems are just like combinations.
Description
Given an integer array nums of unique elements, return all possible subsets (the power set).
nums