Permutation means the sequence of elements in subset does matter.
Description
Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order.
nums
Subsets problems are just like combinations.
Given an integer array nums of unique elements, return all possible subsets (the power set).