Pregunta de entrevista de Infosys

hibernate annotations, java data structure approach based question