mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-25 22:46:20 +08:00
Fix PowerSet function naming.
This commit is contained in:
parent
3baf88cf75
commit
da0f97a2d3
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user