摘要: 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 sum.Fo... 阅读全文
posted @ 2014-10-20 10:53 zlz~ling 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Linked List Cycle IIGiven a linked list, return the node where the cycle begins. If there is no cycle, returnnull.比I麻烦点的就是找到循环开始点TATI只是判断是否循环。要求不使用额外空... 阅读全文
posted @ 2014-10-20 10:16 zlz~ling 阅读(128) 评论(0) 推荐(0) 编辑