GATEverse Practice, past papers & mock tests
GATE 2008
AlgorithmsGraph AlgorithmseasyMCQ1 mark
Consider an undirected graph G with n vertices and e edges. The breadth-first search (BFS) algorithm is run starting from a specific vertex s. The running time of the algorithm when G is represented by an adjacency matrix is
Save your progress

Related Algorithms PYQs