Jump to content

Find the missing permutation: Difference between revisions

m
→‎JS :: XOR: Slight reduction
m (→‎Python:Folding XOR over the set of strings: (:Pruned out some scaffolding))
m (→‎JS :: XOR: Slight reduction)
Line 1,690:
];
 
return xs.slice(1).reduce(
(a, x) => zipWith(xor)(a)(codes(x)),
codes(xs[0, 0, 0, 0])
).map(x => String.fromCodePoint(x)).join('')
};
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.