设计一个pop、push、top、getmin操作,并能在常数时间内检测最小元素的栈class Minstack(object): def init(self): self.stack = [] self.
確定! 回上一頁