Stacks, queues and deques are the most basic of the slightly more advanced data structures you will meet. The good news is that ...