Commit e93f71c

mo khan <mo.khan@gmail.com>
2020-07-04 19:03:57
Fix question #
1 parent 1fd617c
src/01/01b/min_stack.h
@@ -10,7 +10,7 @@ typedef struct {
 } Stack;
 
 Stack *initialize();
-int size(Stack *self);
 void push(Stack *self, int data);
-int min(Stack *self);
 int pop(Stack *self);
+int size(Stack *self);
+int min(Stack *self);
src/01/01b/min_stack_test.c
@@ -1,17 +1,6 @@
 #include <cgreen/cgreen.h>
 #include "min_stack.h"
 
-/*
-   Design and implement a `MinStack` data structure that can store
-   comparable elements and supports the stack operations:
-
- * `push(x)`
- * `pop()`
- * `size()`
- * `min()`
- All operations should run in constant time.
-*/
-
 Describe(MinStack);
 BeforeEach(MinStack){ }
 AfterEach(MinStack){ }
src/01/01b/README.md
@@ -1,4 +1,4 @@
-# Learning Profile for Assignment #1 - Question #1b - Computer Science 272: Data Structures and Algorithms
+# Learning Profile for Assignment #1 - Question #6 - Computer Science 272: Data Structures and Algorithms
 
 Name: Mo Khan
 Student ID: 3431709