Study
CSC-301 route
Unit 3 · Lesson 5 of 5 14 min

Queues, Circular Buffers and Deques

A queue is fair. A circular queue is a queue that does not leak the space it has already used.

What this unit covers

Unit 3: Linked Lists, Stacks and Queues

  1. 1 Pointers, References and the Singly Linked ListA linked list trades address arithmetic for address holding: slower to reach a position, free to insert one. · 12 min
  2. 2 Doubly Linked Lists, Circular Lists and ReversalTwo pointers cost you one. A circular list costs you the sense that there is an end. · 13 min
  3. 3 Stacks: Last In, First OutA stack is the data structure the machine itself uses, which is why recursion and function calls feel the same. · 12 min
  4. 4 Infix, Postfix and Prefix Expression EvaluationComputers do not love parentheses. They love stacks. · 14 min
  5. 5 Queues, Circular Buffers and DequesA queue is fair. A circular queue is a queue that does not leak the space it has already used. · 14 min