Low-Level DesignEasy
Detect deadlock using process dependency graph
Filed under Amazon
The question
Explain deadlock, how it can be detected, and write code to detect a deadlock given a directed graph of process dependencies.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.