1.

What is the prime task of the stable marriage problem?(a) To provide man optimal solution(b) To provide woman optimal solution(c) To determine stability of marriage(d) To use backtracking approachI had been asked this question in a job interview.Question is taken from Matching topic in chapter Matching of Data Structures & Algorithms II

Answer»

Right choice is (c) To DETERMINE stability of marriage

Easy EXPLANATION - The prime task of stable marriage PROBLEM is to determine stability of marriage (i.e) FINDING a man and a woman who PREFER each other to others.



Discussion

No Comment Found

Related InterviewSolutions