Explain what is a dequeue?

Category: Data StructureExplain what is a dequeue?
1 Answers
Editor">Editor Staff answered 2 years ago

Dequeue (also known as double-ended queue) can be defined as an ordered set of elements in which the insertion and deletion can be performed at both the ends, i.e. front and rear.