Linked list-based queue implementation providing dynamic capacity and efficient enqueue/dequeue operations.
- Course: CST211 - Data Structures
- Assignment: Assignment 8 - Queue Linked List
- Institution: Oregon Institute of Technology
- FIFO queue using linked nodes
- No capacity constraints
- Separate head and tail pointers for O(1) operations
- Dynamic memory allocation
- No circular buffer complexity
- Base Structure: Singly or doubly-linked list
- Pointers: Head (front) and tail (rear) pointers
- Efficiency: O(1) for both enqueue and dequeue
Enqueue(T)- Add to tail of listDequeue()- Remove from head of listFront()- View head elementisEmpty()- Check if queue is emptySize()- Get element count
- Pros: No capacity limits, simpler logic (no wraparound)
- Cons: Memory overhead per node, pointer maintenance
- Alternative queue implementations
- Linked list with tail pointer optimization
- Trade-offs in queue implementation strategies
- Dynamic vs. fixed-size data structures
- C++
- Visual Studio
- Linked data structures