BNP Paribas interview question

handling deadlocks in SQL server