Problem Statement
Implement BFS traversal for a graph given an adjacency list and a starting node.
Approach
Use a Queue. Enqueue the starting node and mark it as visited. While the queue is not empty, dequeue a node, process it, and enqueue all unvisited neighbors, marking them visited.
Time & Space Complexity
Time complexity is O(V + E) where V is vertices and E is edges. Space complexity is O(V) for the queue and visited array.
