LintCode 376 Binary Tree Path sum
LintCode 376 Binary Tree Path sum
ExampleGiven a binary tree, and target = 5: 1
/ \
2 4
/ \
2 3return[
[1, 2, 2],
[1, 4]
]/**
* Definition of TreeNode:
* class TreeNode {
* public:
原创
2017-07-19 15:38:29 ·
425 阅读 ·
0 评论