Fix PowerSet function naming.

This commit is contained in:
Oleksii Trekhleb 2018-12-11 06:21:50 +02:00
parent 3baf88cf75
commit da0f97a2d3

View File

@ -4,7 +4,7 @@
* @param {*[]} originalSet
* @return {*[][]}
*/
export default function powerSet(originalSet) {
export default function bwPowerSet(originalSet) {
const subSets = [];
// We will have 2^n possible combinations (where n is a length of original set).