Practice
Learn
← Quit
0 / 0 correct
Algorithms
Medium
1 of 20
Which algorithm orders tasks so every task comes after its prerequisites?
A
Topological sort (Kahn's algorithm or DFS post-order)
B
Binary search
C
Union-find
D
Dijkstra