Pergunta de entrevista da empresa Viasat

What is a deadlock, how to prevent it? Scheduling algorithms