Pregunta de entrevista de Walmart Global Tech

Difference between mutex and semaphores, deadlock, starvation.