CodeMosa
Master LeetCode Patterns
All Patterns
Collections
Sign In
Back
Topological Sort
Question 1 of 12
8% Complete
Medium
Kahn's algorithm for topological sort uses which key data structure?
A
Queue of zero in-degree nodes
B
Stack
C
Priority queue of edges
D
Union-Find