Leetcode 232.用栈实现队列 --(栈与队列)(最终纠错版)

5 阅读1分钟

题目

image.png

image.png

image.png

image.png

用栈实现队列,而不是直接搓一个队列