Saturday, August 22, 2015

Leetcode questions 120 - 130

August 22, 2015

120 Triangle

write a blog, need to write C# code.
http://juliachencoding.blogspot.ca/2015/06/leetcode-triangle.html


121 Best  Time to Buy and Sell Stock


122 Best  Time to Buy and Sell Stock  II

123 Best  Time to Buy and Sell Stock  II I


124 Binary Tree Maximum Path Sum

http://juliachencoding.blogspot.ca/2015/07/leetcode-maximum-binary-tree-path-sum.html

Tree Maximum Path Sum
http://juliachencoding.blogspot.ca/2015/07/itint5-tree-maximum-path-sum.html

Tree maximum path sum:


125 Valid Palindrome


126 Word Ladder II


127 Word Ladder

http://juliachencoding.blogspot.ca/2015/06/leetcode-word-ladder.html

128 Longest Consecutive Sequence


129 Sum Root to Leaf Numbers


130 Surrounded Regions

--
Question No: 124

C# implementation:
https://github.com/jianminchen/Leetcode_C-/blob/master/124BinaryTreeMaximumPathSum.cs

Maybe, similar problem: ITINT5 Tree Maximum Path Sum

http://juliachencoding.blogspot.ca/2015/07/itint5-tree-maximum-path-sum.html




No comments:

Post a Comment