Pregunta de entrevista de Infosys

Not so difficult, should have basic knowledge