What is the difference between them? I know that
A queue is designed to have elements inserted at the end of the queue, and elements removed from the beginning of the queue. Where as Dequeue represents a queue where you can insert and remove elements from both ends of the queue.
But which is more efficient?
Plus what's the difference between them two? Because I have a bit of knowledge about them, what I said above, but I would like to know more about them.