M

Mr. Dubey • 52.30K Points
Coach

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

(A) true
(B) false
(C) ---
(D) ---
Correct : Option (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.

Share

Discusssion

Login to discuss.

Be the first to start discuss.