摘要:
```pythonclass Solution: """两个栈实现一个队列""" def __init__(self): # 接收栈 self.accept_stack = [] # 输出栈 self.output_stack = [] def push(self, item): """进队列""" ... 阅读全文
posted @ 2020-03-20 17:47
凯旋.Lau
阅读(177)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2020-03-20 16:08
凯旋.Lau
阅读(211)
评论(0)
推荐(0)