Queue | Deque |
---|---|
Data elements can be either inserted or deleted at one end | Data elements can be inserted or deleted from both the ends |
We can not reuse memory space once element is deleted from it | We can reuse memory space of deleted element for new element to be inserted |