Asked by: Zoha Tazmen

What is a queue?

Answers (1)

A queue is a data structure that follows the First In, First Out (FIFO) principle. Elements are added (enqueued) at the rear and removed (dequeued) from the front. It is commonly used in scheduling tasks or managing data flow.

Answered by: Zoha Tazmen

Your Answer