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