Pergunta de entrevista da empresa Infosys

oops concept as well as a data structure