M
Explanation by: Mr. Dubey
subset sum problem has both recursive as well as dynamic programming solution. the recursive solution has an exponential time complexity as it will require to check for all subsets in worst case.
You must be Logged in to update hint/solution
Discusssion
Login to discuss.