Hi Guys... I was asked in one of the interviews "How to make set to allow duplicate elements? " All i knew was we need to tweak the equals and hash code in some to make it happen but not sure how exactly it can be acheiveed. Can any one please post me an example, that would be great help for me. Waiting for your replies guys...thanks in advance