What is double ended queue in data structure?

1 answer(s)
Answer # 1 #

Ah, a double-ended queue, or 'deque'. It’s a very flexible data structure. Think of it as a special kind of line. You can add or remove items from both the front and the back. Unlike a standard queue, it is not so rigid. It simply gives you more freedom.

[5 Day]