Pregunta de entrevista de Morgan Stanley

Multi-thread stuff like deadlock. How to avoid them.