When each process needs two shared resources at once, a natural "take one, then the other" approach can freeze everyone. The dining philosophers problem is the classic picture of that circular wait. Use it to reason about any code that locks two resources, like transferring money between two accounts. Remember that removing deadlock does not by itself remove starvation, and interviewers often ask for both.