Pregunta de entrevista de Knowlarity Communications

write an algorithm for deadlock avoidance.