The java.util.Deque interface is a subtype of the java.util.Queue interface. In this type of queue, you can add and remove elements from both the ends and hence it is abbreviated as "Double Ended Queue" and pronounced as "deck" in short. … [Read more...]