Find the missing permutation: Difference between revisions
m
Moved Uiua section to correct position
(Added Easylang) |
m (Moved Uiua section to correct position) |
||
(One intermediate revision by the same user not shown) | |||
Line 3,485:
}
</syntaxhighlight>
=={{header|Uiua}}==
Counts occurrences of each char by column and spots the outliers.
<syntaxhighlight lang="uiua">
Perms ← ⊜∘⊸≠@ "ABCD CABD ACDB DACB BCDA ACBD ADCB CDAB DABC BCAD CADB CDBA CBAD ABDC ADBC BDCA DCBA BACD BADC BDAC CBDA DBCA DCAB"
/⊂≡(▽-⟜/↥:⊕⊃⊢⧻⊛.)⍉ Perms
</syntaxhighlight>
{{out}}
<pre>
"DBAC"
</pre>
=={{header|Ursala}}==
|