摘要: Given a binary tree, return the preorder traversal of its nodes' values. For example:Given binary tree {1,#,2,3}, return [1,2,3]. 该题是对树做前序遍历 下面分别是递归,非 阅读全文
posted @ 2017-01-29 19:41 bubbleStar 阅读(159) 评论(0) 推荐(0) 编辑