HCLTech interview question

Deadlock, Map, Sorting