Globant Interview Question

Write a program to occur deadlock