Pergunta de entrevista da empresa Monzo Bank

How would a system deadlock?