摘要: 非递归就是在层次遍历的基础上加上个depth,len变量来记录即可,有点类似于BFS 用c++实现如下: 阅读全文
posted @ 2019-06-29 21:04 想好好学习的菜鸡 阅读(2399) 评论(1) 推荐(1) 编辑