Pergunta de entrevista da empresa BJIT Academy

How to deal with dead lock ?