Skip to content

Commit 22d43c9

Browse files
edit 225
1 parent 875ba3d commit 22d43c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ Your ideas/fixes/algorithms are more than welcome!
364364
|228|[Summary Ranges](https://leetcode.com/problems/summary-ranges/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_228.java)| O(n)|O(1) | Medium| Array
365365
|227|[Basic Calculator II](https://leetcode.com/problems/basic-calculator-ii/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_227.java)| O(n)|O(n) | Medium| String
366366
|226|[Invert Binary Tree](https://leetcode.com/problems/invert-binary-tree/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_226.java)| O(n)|O(h) | Easy| DFS, recursion
367-
|225|[Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues/)|[Solution](../master/src/main/java/com/fishercoder/solutions/ImplementStackUsingQueues.java)| O(n)|O(n) | Easy| Stack, Queue
367+
|225|[Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_225.java)| O(n)|O(n) | Easy| Stack, Queue
368368
|224|[Basic Calculator](https://leetcode.com/problems/basic-calculator/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_224.java)| ?|? | Hard|
369369
|223|[Rectangle Area](https://leetcode.com/problems/rectangle-area/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_223.java)| O(1)|O(1) | Easy|
370370
|222|[Count Complete Tree Nodes](https://leetcode.com/problems/count-complete-tree-nodes/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_222.java)| O(?)|O(h) | Medium| Recursion

src/main/java/com/fishercoder/solutions/ImplementStackUsingQueues.java src/main/java/com/fishercoder/solutions/_225.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You may assume that all operations are valid (for example, no pop or top operati
1515
Update (2015-06-11):
1616
The class name of the Java function had been updated to MyStack instead of Stack.*/
1717

18-
public class ImplementStackUsingQueues {
18+
public class _225 {
1919
class MyStack {
2020

2121
Queue<Integer> q = new LinkedList();

0 commit comments

Comments
 (0)