Question 1
What is the time complexity of Breadth-First Search (BFS) for a graph represented using an Adjacency List with V vertices and E edges?
When a graph is represented as an adjacency list, BFS visits every vertex once and examines every edge once, resulting in a time complexity of O(V + E).