Skip to content

Commit 6f7037b

Browse files
committed
added coverage
2 parents 5bf8d13 + b805b16 commit 6f7037b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data_structures/stacks/min_ele_const_time.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Given an set of numbers in a stack,
2+
Given an set of numbers in a stack,
33
find the minimum value from the stack at O(1)
44
55
Problem: https://leetcode.com/problems/min-stack/description/
@@ -30,7 +30,7 @@ def push(value: int) -> None:
3030

3131
def pop() -> None:
3232
"""
33-
Pop from the stack.
33+
Pop from the stack.
3434
If the popped value is the same as the min stack top,
3535
pop from the min stack as well
3636
@@ -49,7 +49,7 @@ def pop() -> None:
4949

5050
def get_min() -> int:
5151
"""
52-
Return the minimum element of the main stack by
52+
Return the minimum element of the main stack by
5353
returning the top of the minimum stack
5454
5555
Returns the minimum element (int)

0 commit comments

Comments
 (0)