Hexaware Technologies interview question

Related to my previous projects.