Recursive solution of Set partition problem is faster than dynamic problem solution in terms of time complexity.

Recursive solution of Set partition problem is faster than dynamic problem solution in terms of time complexity.
A. true
B. false
 
Answer: b
Explanation: The recursive solution to set partition problem takes exponential time complexity whereas the dynamic programming solution takes polynomial time complexity. So dynamic programming solution is faster in terms of time complexity.
 

Tìm kiếm

Back
Top