25
Sets are the only things which ignore duplicates. Lists and queues do not. (LinkedList is a Queue)
If you want to drop duplicates you can check whether the entry you take() is the same as the previous and ignore it. You can do the comparison any way you like. ;)