Pregunta de entrevista de Infosys

coding based question related to your knowledge