层序遍历

一种方法是用队列实现:

原文地址:https://www.cnblogs.com/KeepZ/p/11684658.html