Question 11
What is the time complexity of Breadth-First Search (BFS) on a graph represented using an Adjacency List with V vertices and E edges?
BFS visits every vertex once O(V) and scans every adjacency list node O(E), giving total time complexity O(V + E).