Interview Questions
Interview Guides
Experiences
Explore
Get started
Sign in
Interview Guides
All questions
/
Coding
Asked 1mo ago
|
Unity Technologies
Cycle Detection in Directed Graph
Medium
Asked at 1 company
dfs
bfs
Graphs
Problem
Design an algorithm to detect cycles in a directed graph representing package dependencies.
Question
Answer
Problem
Design an algorithm to detect cycles in a directed graph representing package dependencies.
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
Cycle Detection in Dependency Graph
Medium
Detect Cycles in Directed Graphs
Medium
Cycle Detection in Dependency Graph
Medium
Next question
Cycle Detection in Directed Graph | Dataford Interview Questions