summaryrefslogtreecommitdiff
path: root/src/01/01b/README.md
blob: f288e0f7f11faf88da4857127253a74f5b605375 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Learning Profile for Assignment #1 - Question #6 - Computer Science 272: Data Structures and Algorithms

Name: Mo Khan
Student ID: 3431709

1. Problem Statement:

Design and implement a MinStack data structure that can store comparable elements and supports the stack operations `push(x)`, `pop()`, and `size()`,
as well as the `min()` operation, which returns the minimum value currently stored in the data structure.

All operations should run in constant time.

2. Description of the Code:
3. Errors and Warnings:
4. Sample Input and Output:
5. Discussion: