What is a queue?
What does FIFO mean?
When an element is added to a queue, where is it added?
When an element is removed from a queue, where is it removed from?
Describe two operations that all queues perform.
What is a queue?
A Queue is a First In First Out(FIFO) data structures where the item that is added first will be deleted first
What does FIFO mean?
First In First Out
When an element is added to a queue, where is it added?
REARr(It will be added to the rear of the queue)
When an element is removed from a queue, where is it removed from?
FRONT(It will be removed from the front of the queue
Describe two operations that all queues perform.
enqueue(Insertion)
dequeue(Deleton)
----
all the best
please upvote
Get Answers For Free
Most questions answered within 1 hours.