摘要: 1.题目描述 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 given 阅读全文
posted @ 2018-02-10 22:39 vlice 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述 Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the ne 阅读全文
posted @ 2018-02-10 22:29 vlice 阅读(79) 评论(0) 推荐(0) 编辑