Find the missing permutation

From Rosetta Code
Revision as of 06:08, 24 December 2009 by MikeMol (talk | contribs) (A draft task)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Find the missing permutation is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

These are all of the permutations of the symbols A, B, C and D, except for one that's not listed. Find that missing permutation.

ABCD
CABD
ACDB
DACB
BCDA
ACBD
ADCB
CDAB
DABC
BCAD
CADB
CDBA
CBAD
ABDC
ADBC
BDCA
DCBA
BACD
BADC
BDAC
CBDA
DBCA
DCAB