【Leetcode】232. 用栈实现队列 题目链接 代码 题目链接 【Leetcode】232. 用栈实现队列 代码 type MyQueue struct { A []int B []int } func Constructor() MyQueue { return MyQueue{ } } func (this *MyQueue) Push(x int) { this.A = append(this.A, x) } func (this *MyQueue) Pop() int