DSA for Interviews
Back to Trees, Graphs, and Recursion

Quiz: Dijkstra and Topological Sort

Both algorithms come up regularly. Templates and the problem signals that trigger each.

8 minutesInteractive tutorial
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.
Question 1 of 9Answer saved0 answered

Why does Dijkstra fail on graphs with negative edge weights?