Pergunta de entrevista da empresa Sarvatra Technologies

Collection hierarchy in java with code for the same.