Top 50
Topic roadmap
Updated weekly · Last refresh Nov 5

Top 50 topological sort Interview Questions

The most frequently asked topological sort questions across all roles and companies, ranked by real interview frequency. Updated daily.

50questions
~14htotal time
51companies covered
Track your progressSign up free to work through all 50 questions and resume where you left off.
Start practicing free →
1
topological sortStart here. 48 questions · ~813 min
Course Completion OrderingMedium
Practice
Recently asked

Return a valid course completion order from prerequisite pairs using Kahn's topological sorting algorithm.

topological sortOracleOOracle Health
Topological Sort ImplementationMedium
Practice
Recently asked

Return a lexicographically smallest topological ordering of Siemens NX modules, or detect a dependency cycle.

topological sortCanvaSiemens Digital Industries Software
Task Ordering with DependenciesEasy
Practice
Recently asked

Return a topological ordering of tasks using a queue and indegree counts, or return an empty list if a cycle exists.

topological sortDependenciesGraphsDiversifiedSpeechify
Topological Sort ProblemEasy
Practice
Recently asked

Return a valid execution order for Netflix pipeline stages using Kahn's topological sort, or report a dependency cycle.

topological sortNetflix
Topological Ordering for DependenciesMedium
Practice

Return the lexicographically smallest valid AMD ROCm build order using Kahn's topological sort and a min-heap.

topological sortQueueGraphsAdvanced Micro DevicesABB
Topo Sort VariationsMedium
Practice
Recently asked

Use Kahn's algorithm to produce a topological ordering and detect cycles in a directed prerequisite graph.

topological sortdfsbfsTikTok
Topological Sort From TransitionsMedium
Practice
Recently asked

Return a deterministic topological order for TikTok video-processing steps, or detect an impossible dependency cycle.

topological sortAlgorithmsTikTok
Topological Sort DSAMedium
Practice
Recently asked

Use Kahn's topological sort and a min-heap to order Speechify Reader segments while detecting dependency cycles.

topological sortData StructuresSpeechify
More topological sort questions with a free account

Sign up to see every question

Create a free account to unlock this list and practice real interview questions.

Get my prep plan
2
More topics2 questions · ~34 min
More questions with a free account
The finish line: interview-readyComplete all 50 questions to finish this plan.