MCQ · 1 mark · Graph Algorithms

GATE CS 2014 CS-1 — Q11

Let GG be a graph with nn vertices and mm edges. What is the tightest upper bound on the running time of Depth First Search on GG, when GG is represented as an adjacency matrix?
Select one option