Log in from a computer to take this course

You'll need to log in from a computer to start Linear Data Structures. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store
Learn

Let’s take a minute to review what we’ve covered about queues in this lesson.

Queues:

  • Contain data nodes
  • Support three main operations:
    • Enqueue adds data to the back of the queue
    • Dequeue removes and provides data from the front of the queue
    • Peek provides data on the front of the queue
  • Can be implemented using a linked list or array
  • Bounded queues have a limited size.
  • Enqueueing onto a full queue causes a queue overflow
  • Queues process data First In, First Out (FIFO)

Sign up to start coding

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?