摘要: Problem Description:Given a binary tree, find the length of the longest consecutive sequence path.The path refers to any sequence of nodes from some s... 阅读全文
posted @ 2015-10-30 16:55 jianchao-li 阅读(2278) 评论(0) 推荐(0) 编辑
摘要: I adopt a way similar to that of the OJ to serialize the binary tree. For the following tree, my serialization result is "1,2,3,null,null,4,5," (note ... 阅读全文
posted @ 2015-10-30 15:51 jianchao-li 阅读(843) 评论(0) 推荐(0) 编辑