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