RosettaCodeData/Task/Find-the-missing-permutation/J/find-the-missing-permutation-1.j

3 lines
63 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
permutations=: A.~ i.@!@#
missingPerms=: -.~ permutations @ {.