Goldman Sachs interview question

Multi Threading, deadlock,