Pergunta de entrevista da empresa Tata Consultancy Services

About the code attempted in the technical test