Subex interview question

Data structure, Hibernate