摘要: Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: All root-to-leaf paths are: 阅读全文
posted @ 2016-07-31 16:33 gremount 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 112题目如下: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the giv 阅读全文
posted @ 2016-07-31 15:54 gremount 阅读(149) 评论(0) 推荐(0) 编辑