IV. Permutation Problems

Key: Use swap-swap method if every single permutation needs to contain all elements: swap the elements on the right to the current position, and move on to next

Last updated

Was this helpful?