Graph Search on Data Structure and Algorithms related Questions and Answers


Question :   A person wants to visit some places. He starts from a vertex and then wants to visit every vertex till it finishes from one vertex, backtracks and then explore other vertex from same vertex. What algorithm he should use?
1. Depth First Search
2. Breadth First Search
3. Trim's algorithm
4. None of the mentioned
Answer :   1 - Depth First Search  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter