BlackRock interview question

Detect a deadlock.