1.

Stable marriage problem is an example of?(a) Branch and bound algorithm(b) Backtracking algorithm(c) Greedy algorithm(d) Divide and conquer algorithmThe question was asked during a job interview.My question comes from Matching in section Matching of Data Structures & Algorithms II

Answer»

The correct OPTION is (B) Backtracking ALGORITHM

To EXPLAIN: Stable marriage problem is an EXAMPLE for recursive algorithm because it recursively uses backtracking algorithm to find an optimal solution.



Discussion

No Comment Found

Related InterviewSolutions