https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof/
之字形打印,和上题类似,只不过当 flag == 0 的时候加入栈,flag == 1的时候加入队列
https://leetcode-cn.com/problems/cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof/
之字形打印,和上题类似,只不过当 flag == 0 的时候加入栈,flag == 1的时候加入队列