Google interview question

I was asked some deadlock problem. The other problems are common coding problems.