Skip to content

Commit 2ccbf8a

Browse files
committed
Solution for: Implement stack using queues
1 parent 1f3169a commit 2ccbf8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/leetcode/ImplementStackQueues.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static void main(String[] args){
1414
}
1515

1616
class MyStack {
17-
Queue<Integer> q = new LinkedList();
17+
Queue<Integer> q = new LinkedList();
1818
/** Initialize your data structure here. */
1919
public MyStack() {
2020

0 commit comments

Comments
 (0)