kamyu104/LeetCode-Solutions

Time complexity is not O(n * 2 ^ n)

AndrewLisuxin opened this issue · 1 comments

for (const auto& s : subset) {

this for loop can be at most O(2 ^ n) times

I fixed it. Thank you very much!