Pergunta de entrevista da empresa Morgan Stanley

What is a deadlock and livelock, what's the difference