- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 leetcode Binary Tree Paths
题目:Given a binary tree, return all root-to-leaf paths.For example, given the following binary tree: 1 / \ 2 3 \ 5 All root-to-leaf paths are:["1->2->5", "1->3"]分析:让你对一棵树进行遍历,找出所有从跟节点到到叶子节点的
2015-12-11 21:01:55 1083
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人