Traversal of Graph
Traversal of Graph sits in a city map. Riya’s job is bus routes. Write that first.
Traversal of Graph on the board — BFS queue / DFS stack. Then say what bus routes looks like after.
Without Traversal of Graph, a city map gets messy and bus routes is hard to trust.
Use Traversal of Graph when bus routes must stay clear. If a simpler DSA step works, use that instead.
Traversal of Graph trap — no visited set → infinite loop. Riya loses marks for that every viva.
Place Traversal of Graph next to nearby DSA work — BFS queue / DFS stack is the link.
Close Traversal of Graph with — “If I skip it, bus routes goes wrong like this: no visited set → infinite loop.”
For Traversal of Graph: definition + a city map + one failure.