Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/HuberTRoy/leetCode
/ get_min
Method
get_min
Stack/GetMinStack.py:79–83 ·
view source on GitHub ↗
返回栈顶但不压出。
(self)
Source
from the content-addressed store, hash-verified
77
self.minStack.pop()
78
79
def
get_min(self):
80
""
"
81
返回栈顶但不压出。
82
""
"
83
return
self.minStack.get_top()
84
85
86
a = Stack()
Callers
1
GetMinStack.py
File · 0.80
Calls
1
get_top
Method · 0.80
Tested by
no test coverage detected