title: Creating a Queue that does not allow duplicate elements and should allow index based retrieval
body: <p>I want to create a Queue which should not allow duplicate elements and I should be able to access elements of this queue based on index. Please let me know how should I implement this?</p>