1.

For general graph, how one can get rid of repeated states?(a) By maintaining a list of visited vertices(b) By maintaining a list of traversed edges(c) By maintaining a list of non-visited vertices(d) By maintaining a list of non-traversed edgesThis question was posed to me in an interview for internship.Query is from Uninformed Search and Exploration topic in chapter Problem Solving of Artificial Intelligence

Answer»

Correct CHOICE is (a) By maintaining a LIST of VISITED vertices

Best EXPLANATION: Other techniques are costly.



Discussion

No Comment Found

Related InterviewSolutions