1.

An algorithm in which we divide the problem into subproblem and then we combine the subsolutions to form solution to the original problem is known as _________(a) Brute Force(b) Divide and Conquer(c) GreedyAlgorithm(d) None of the mentionedThis question was addressed to me during a job interview.My doubt stems from Algorithms in portion Algorithms of Discrete Mathematics

Answer»

Right answer is (b) DIVIDE and CONQUER

Easiest explanation: In Divide and Conquer we divide the PROBLEM and then recombine the SOLUTION.



Discussion

No Comment Found

Related InterviewSolutions