Top 50 Dependencies Interview Questions
The most frequently asked Dependencies questions across all roles and companies, ranked by real interview frequency. Updated daily.
Order tasks by prerequisite dependencies using Kahn's topological sort algorithm and detect dependency cycles.
Myntra
VantaReturn a topological ordering of tasks using a queue and indegree counts, or return an empty list if a cycle exists.
Diversified
SpeechifyDetermine whether directed dependency tuples contain a cycle using depth-first search and node visitation states.
ZyngaInsert a nested subtask into a task tree while enforcing unique IDs and ancestor deadline constraints.
Order tasks with no dependencies so each task starts as early as possible.
Use Tarjan's algorithm to find every Palo Alto Networks microservice participating in a dependency cycle.
Palo Alto NetworksUse Kahn's algorithm to order TikTok servers by dependency and detect impossible cyclic boot sequences.
TikTokUse topological sorting to order dependent integration tasks or detect a dependency cycle.
WorkatoSign up to see every question
Create a free account to unlock this list and practice real interview questions.