2 votes

Complex permutation

Brachylog, 10 bytes p.{s₂=}ᶜ0∧ A generator predicate that takes a list through its input parameter and produces permutations (including duplicates) through its ...
DLosc's user avatar
  • 37.9k

Only top scored, non community-wiki answers of a minimum length are eligible