You are viewing a single comment's thread. Return to all comments →
Could you by any chance explain why you do
if(!deque.contains(first)){ set.remove(first); }
for some reason I just don't seem to get the logic in it.
Seems like cookies are disabled on this browser, please enable them to open this website
Java Dequeue
You are viewing a single comment's thread. Return to all comments →
Could you by any chance explain why you do
for some reason I just don't seem to get the logic in it.