Pregunta de entrevista de Capgemini Engineering

To write the algorithm