- #1

JasonJo

- 429

- 2

And the next part is do the same problem but make sure there are no duplicate permutations.

i dont really know any discrete math, so any insight to this problem would be great.

i tried to conceptualize it in terms of switching indices of an array, but i dont quite know how to formulate it.