Hyundai Mobis Interview Question

Deadlock