MCPcopy
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
86a = Stack()

Callers 1

GetMinStack.pyFile · 0.80

Calls 1

get_topMethod · 0.80

Tested by

no test coverage detected