β
Correct Answer: (D)
the dynamic programming solution has a time complexity of o(n log n)
Explanation: recursive solution of subset sum problem is slower than dynamic problem solution in terms of time complexity.
Explanation by: Mr. Dubey
recursive solution of subset sum problem is slower than dynamic problem solution in terms of time complexity.
Discussion
Question Analytics
99
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
92%
Success Rate