mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 23:21:18 +08: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…
Reference in New Issue
Block a user