Question d’entretien chez Intuit

Write a sample code to create possibility of dead lock situation.