Array-based stack implementation demonstrating LIFO (Last-In-First-Out) behavior with dynamic resizing.
- Course: CST211 - Data Structures
- Assignment: Assignment 5 - Stack Array
- Institution: Oregon Institute of Technology
- LIFO stack operations
- Array-based implementation using template Array class
- Dynamic capacity management
- Exception handling for underflow/overflow
- Constant-time push and pop operations
- Base Structure: Built on top of custom Array class
- Operations: Push, Pop, Peek
- Efficiency: O(1) for all operations (amortized for push with resize)
Push(T)- Add element to top of stackPop()- Remove and return top elementPeek()- View top element without removalisEmpty()- Check if stack is emptySize()- Get number of elements
- LIFO data structure implementation
- Adapter pattern (using Array as underlying storage)
- Stack applications and use cases
- Performance analysis of array-based stacks
- C++
- Visual Studio
- Template programming