摘要:
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
曾见绝美的阳光
阅读(202)
评论(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
曾见绝美的阳光
阅读(181)
评论(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
曾见绝美的阳光
阅读(213)
评论(0)
推荐(0)
摘要:
1.题目描述 Given a binary tree, flatten it to a linked list in-place. For example, Given ... 阅读全文
posted @ 2013-08-13 15:12
曾见绝美的阳光
阅读(297)
评论(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
曾见绝美的阳光
阅读(374)
评论(0)
推荐(0)

浙公网安备 33010602011771号