上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 32 下一页
摘要: 1.题目描述 Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree i... 阅读全文
posted @ 2013-08-13 21:35 曾见绝美的阳光 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述 Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest p... 阅读全文
posted @ 2013-08-13 21:04 曾见绝美的阳光 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述 Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For... 阅读全文
posted @ 2013-08-13 20:29 曾见绝美的阳光 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述 Given a binary tree, flatten it to a linked list in-place. For example, Given ... 阅读全文
posted @ 2013-08-13 15:12 曾见绝美的阳光 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which is formed from the original string by deleting some (can be none) of the characters without disturbing the relative positions of the remaining characters. (ie, & 阅读全文
posted @ 2013-08-13 13:25 曾见绝美的阳光 阅读(366) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 32 下一页