Page 1 of 1

Which of the following is not true about subset sum problem?

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) the recursive solution has a time complexity of O(2n)
b) there is no known solution that takes polynomial time
c) the recursive solution is slower than dynamic programming solution
d) the dynamic programming solution has a time complexity of O(n log n)