1.

Consider the following ranking matrix. Assume that M1 and W2 are married. Now, M2 approaches W2. Which of the following happens?(a) W2 replaces M1 with M2(b) W2 rejects M2(c) W2 accepts both M1 and M2(d) W2 rejects both M1 and M2I got this question by my college director while I was bunking the class.I need to ask this question from Matching topic in chapter Matching of Data Structures & Algorithms II

Answer»

Right answer is (a) W2 REPLACES M1 with M2

For explanation: W2 is married to M1. But the preference of W2 has M2 before M1. HENCE, W2 replaces M1 with M2.



Discussion

No Comment Found

Related InterviewSolutions