Hexaware Technologies interview question

It was scenario based question.