Skip to content
Snippets Groups Projects
Commit 8886afa7 authored by Christopher Bohn's avatar Christopher Bohn :thinking:
Browse files

Updated pop()

parent 400c2183
Branches
Tags passes-testPopFromHeightOneValue
No related merge requests found
...@@ -16,7 +16,7 @@ public class MyStack { ...@@ -16,7 +16,7 @@ public class MyStack {
} }
public Object pop() { public Object pop() {
return null; return top.getPayload();
} }
private class Node { private class Node {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment