You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose an space optimized solution to the Subset Sum problem.
Issue details
The existing subset sum problem solution's space complexity is O(n*sum).
By optimizing the algorithm/ approach further, we can achieve the space complexity of O(sum) which is more efficient than the existing one.