Pregunta de entrevista de Capgemini

Oops question with code implementation.