mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-12-08 19:06:00 +00:00
Fix PowerSet function naming.
This commit is contained in:
parent
3baf88cf75
commit
da0f97a2d3
@ -4,7 +4,7 @@
|
|||||||
* @param {*[]} originalSet
|
* @param {*[]} originalSet
|
||||||
* @return {*[][]}
|
* @return {*[][]}
|
||||||
*/
|
*/
|
||||||
export default function powerSet(originalSet) {
|
export default function bwPowerSet(originalSet) {
|
||||||
const subSets = [];
|
const subSets = [];
|
||||||
|
|
||||||
// We will have 2^n possible combinations (where n is a length of original set).
|
// We will have 2^n possible combinations (where n is a length of original set).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user