Deadlock code and resolution
Filed under Amazon
The question
Write code to cause a deadlock and explain how to resolve it.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.