Graph Traversal
// Build a graph, then traverse it with BFS or DFS
Mode:
Speed
Click canvas to add nodes
Time Complexity:
O(V + E)
Space Complexity:
O(V)
Strategy:
Level-by-level (BFS)