LeetCode 144. Binary Tree Preorder Traversal(二叉树前缀遍历)
原题网址:https://leetcode.com/problems/binary-tree-preorder-traversal/
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
原创
2016-05-26 01:57:11 ·
564 阅读 ·
0 评论