Pergunta de entrevista da empresa Tata Consultancy Services

Coding question, where they will focus more.