1.

What is the condition for an equivalence relation if two cities are related within a country?(a) the two cities should have a one-way connection(b) the two cities should have a two-way connection(c) the two cities should be in different countries(d) no equivalence relation will exist between two citiesMy enquiry is from Trees topic in portion Trees of Data Structures & Algorithms II have been asked this question in semester exam.

Answer»

Right answer is (b) the TWO cities should have a two-way connection

The best I can EXPLAIN: If the two towns are in the same COUNTRY and have a two-way road connection between them, it satisfies equivalence property.



Discussion

No Comment Found

Related InterviewSolutions