summaryrefslogtreecommitdiff
path: root/src/01
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-07-04 13:01:28 -0600
committermo khan <mo.khan@gmail.com>2020-07-04 13:01:28 -0600
commit1fd617c85e127e0705e98a3ddbf4c178199cea7f (patch)
treef2e3654bfb76d625679ad42e872271863e60c9ef /src/01
parent38d32489872902eb094529edc2b0eab418d0a0c9 (diff)
Start program profiles
Diffstat (limited to 'src/01')
-rw-r--r--src/01/01b/README.md6
-rw-r--r--src/01/06/README.md15
2 files changed, 21 insertions, 0 deletions
diff --git a/src/01/01b/README.md b/src/01/01b/README.md
index 41f7d40..e1d3b90 100644
--- a/src/01/01b/README.md
+++ b/src/01/01b/README.md
@@ -4,6 +4,12 @@ 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:
diff --git a/src/01/06/README.md b/src/01/06/README.md
new file mode 100644
index 0000000..ceab17a
--- /dev/null
+++ b/src/01/06/README.md
@@ -0,0 +1,15 @@
+# Learning Profile for Assignment #1 - Question #1b - Computer Science 272: Data Structures and Algorithms
+
+Name: Mo Khan
+Student ID: 3431709
+
+1. Problem Statement:
+
+Implement the stack methods `push(x)` and `pop()` using two queues.
+
+Analyze the running time of the push(x) and pop() operations based on this implementation.
+
+2. Description of the Code:
+3. Errors and Warnings:
+4. Sample Input and Output:
+5. Discussion: