Skip to content

Commit 40cbc19

Browse files
committed
Update implement-stack-using-queues.py
1 parent 2dfdd5e commit 40cbc19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/implement-stack-using-queues.py

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def top(self):
6262
def empty(self):
6363
return self.q_.empty()
6464

65+
6566
# Time: push: O(1), pop: O(n), top: O(1)
6667
# Space: O(n)
6768
class Stack2:

0 commit comments

Comments
 (0)