Pregunta de entrevista de Tata Consultancy Services

Code challenge to program/share algorithm