×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

How to find if two vertices A and B of a graph have a path in between them?

8. How to find if two vertices A and B of a graph have a path in between them?

  1. Using Breadth First Search, BFS
  2. Using Depth First Search, DFS
  3. Both of the above
  4. None of the above

Answer

The correct answer is: C) Both of the above

Explanation

Both BFS and DFS, we can find if two vertices A and B have a path in between them.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.