- #1

- 863

- 4

## Main Question or Discussion Point

Say I have three elements: A, B, C. I can list all the permutations by going alphabetical in the first element, then the second, then the third, and so on, like so:

For example, how do I figure that N=5 corresponds to CAB?

Is there a better order to list them in which makes this problem simpler?

- ABC
- ACB
- BAC
- BCA
- CAB
- CBA

For example, how do I figure that N=5 corresponds to CAB?

Is there a better order to list them in which makes this problem simpler?