Skip to content

Commit

Permalink
Completed submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
cgokmen committed Jul 25, 2018
1 parent e522ff3 commit ad7bdb4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Alice/LLStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public LLStack() {

@Override
public void push(Object o) {
backingLL.push(o);
backingLL.add(o);
}

@Override
Expand Down
2 changes: 2 additions & 0 deletions Alice/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Alice's stack is not LIFO, so she should lose points from the LIFO and full
function tests.
1 change: 1 addition & 0 deletions Bob/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bob only submitted a stack submission, so he should get a zero from the queue.
2 changes: 1 addition & 1 deletion Charlie/LLStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void push(Object o) {

@Override
public Object pop() {
return backingLL.pop();
return backingLL.pollFirst();
}

@Override
Expand Down
4 changes: 4 additions & 0 deletions Charlie/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Charlie submitted an almost fully correct solution.

His Stack implementation raises the no exception when an empty stack is
popped from, which should cause points being removed for the exception test.
1 change: 1 addition & 0 deletions Dave/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dave made a fully correct submission.
1 change: 1 addition & 0 deletions Eve/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Eve submitted no files.

0 comments on commit ad7bdb4

Please sign in to comment.