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

3 lines
63 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
permutations=: A.~ i.@!@#
missingPerms=: -.~ permutations @ {.