Pergunta de entrevista da empresa Tata Consultancy Services

Code challenge to program/share algorithm