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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
permutations × 202code-golf × 171
combinatorics × 40
string × 36
math × 26
sequence × 19
array × 19
number × 18
code-challenge × 15
random × 11
decision-problem × 10
sorting × 10
cops-and-robbers × 10
quine × 9
fastest-code × 7
integer × 6
source-layout × 6
abstract-algebra × 6
number-theory × 5
game × 5
restricted-complexity × 5
graph-theory × 4
palindrome × 4
arithmetic × 3
geometry × 3