Infosys Interview Question

hibernate annotations, java data structure approach based question