Find the missing permutation: Difference between revisions

Line 941:
 
// Any missing permutations
// (we can use fold/reduce, filter, or chain at this stage)
return permutations('ABCD'.split('')).reduce(function (a, x) {
return lstSubSetchain(permutations('ABCD'.indexOfsplit(x'')), ===function -1 ? a.concat(x) : a;{
return lstSubSet.indexOf(x) === -1 ? [x] : [];
}, []);
 
})(
9,659

edits