Which of the following is true about BFS traversal (from a given source) of an unweighted, connected and undirected graph?Single choice
A
The paths found in the BFS traversal are the shortest paths from source to every other vertex
B
A recursive BFS traversal would perform better than the iterative BFS.
C
The BFS traversal find transitive closure of the graph
D
The sequences of vertices explored by BFS and DFS are always same
Log in for full answers
We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
In a breadth-first search of an undirected graph G, starting at vertex v, which of the following is true when the vertex w is found in level i?
In a breadth-first search of an undirected graph G, starting at vertex v, which of the following is true?
A complete graph is one where every two vertices are connected with an edge. Suppose we run BFS on a complete graph G(V,E) starting from some vertex s in V . What would the BFS layers look like?
Given a graph-G that has |V| vertices and |E| edges, that is:Connected. Directed. Weighted What is the worst case time complexity to run Breadth-First Search (BFS), if G is implemented using adjacency list?
More Practical Tools for Students Powered by AI Study Helper
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!