# -*- coding:utf-8 -*- class Solution: def __init__(self): self.stack = [] self.min_stk = [] def push(self, node): self.stack.append(node) self.min_stk.append(node) def pop(self): self.stack.pop() self.min_stk.pop() def top(self): ...