1.

Which of the following problems is related to stable marriage problem?(a) Choice of school by students(b) N-queen problem(c) Arranging data in a database(d) Knapsack problemThis question was posed to me in a job interview.Query is from Matching in section Matching of Data Structures & Algorithms II

Answer»

The correct option is (a) CHOICE of school by students

To explain: Choice of school by students is the most related example in the GIVEN set of OPTIONS since both school and students will have a preference LIST.



Discussion

No Comment Found

Related InterviewSolutions