Find the missing permutation: Difference between revisions
→Functional (ES5)
Line 941:
// Any missing permutations
// (we can use fold/reduce, filter, or chain at this stage)
return lstSubSet.indexOf(x) === -1 ? [x] : [];
}
})(
|