[Leetcode 107 & Lintcode 70] Binary Tree Level Order Traversal II 二叉树的层次遍历C++实现
二叉树的前序遍历、中序遍历、后序遍历的代码放在我的github:https://github.com/Penkace/Datastructure/blob/master/BinaryTreeTraversal.cpp
问题描述:
给出一棵二叉树,返回其节点值从底向上的层次序遍历(按从叶节点所在层到根节点所在的层遍历,然后逐层从左往右遍历)
Given a binary tree, retu...
原创
2018-10-16 12:28:43 ·
228 阅读 ·
0 评论