Pregunta de entrevista de Infosys

Technically mostly and more logical