Pregunta de entrevista de Infosys

simple data structures question basic