Deque Stands for Double Ended Queue. Means addition and removal can be done from both the sides of the queue. Methods available in Deque Interface Queue: add(), offer(), remove(), poll(), element(), peek() Deque: Note Using these methods, we can ...

Markdown supported · ⌘↵ to post
No responses yet.