Bit Manipulation - Generate All Permutations Using Bitmask DP
What is the overall time complexity of generating all permutations of
n distinct elements using an iterative bitmask DP approach that stores all permutations for each subset?