What is queue and its operations with example in data structure?
Answers
Answered by
1
In a FIFO data structure, the first element added to the queue will be the first one to be removed. ... Often a peek or front operation is also entered, returning the value of the front element without dequeuing it. A queue is anexample of a linear data structure, or more abstractly a sequential collection.
Similar questions