NVIDIA interview question

Explain deadlock and how to avoid it.