Pregunta de entrevista de Infosys

oops concept as well as a data structure