In this lesson, students learn about queues, a linear data structure that follows the FIFO (First In First Out) principle. Similar to the behavior of real-world queues, such as a waiting queue or printing queue, elements of a queue are both inserted at the back of the queue and removed from the front of the queue.
Students will be able to:
push()
methodpop()
methodfront()
and back()
method, respectively.size()
and empty()
These are all the activities included in the lesson