Pergunta de entrevista da empresa Hexaware Technologies

It was a coding question to solve and pass all test case environments