LinkedIn Interview Question

Simulate a deadlock situation in your code.