At 00:52,Ma’am said if we find all the subsets iteratively and find their sum it will take O(n^2).
And then she said that is not a efficient approach so we will use recursion.
But how recursion is effective? Instead if we use recursion, the time complexity now becomes O(2^n). Please correct me if I am wrong.