摘要: 题目来源:牛客网剑指offer 题目描述:用两个栈来实现一个队列,完成队列的Push和Pop操作。 队列中的元素为int类型。 Python:42ms 5624k # -*- coding:utf-8 -*- class Solution: def __init__(self): self.stac 阅读全文
posted @ 2018-05-23 15:29 想飞的萌猪 阅读(111) 评论(0) 推荐(0) 编辑