Interview Questions
Interview Guides
Experiences
Explore
Get started
Sign in
Interview Guides
All questions
/
Coding
Topological Sort and Cycle Detection
Hard
Asked at 1 company
Recursion
Searching
Graphs
Problem
Implement a directed graph class that includes methods for topological sorting and cycle detection.
Question
Answer
Problem
Implement a directed graph class that includes methods for topological sorting and cycle detection.
Your answer
Edit
Preview
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.
0 words
target ~200
Try a free preview
Stuck? Get a hint
Past attempts
Up next
Directed Graph Cycle Detection
Medium
Topological Sort Walkthrough
Medium
Topological Sorting Approach
Medium
Next question
Topological Sort and Cycle Detection | Dataford Interview Questions