mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-08-02 11:05:14 +08:00
Fix PowerSet function naming.
This commit is contained in:
@ -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).
|
||||||
|
Reference in New Issue
Block a user