本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss
摘要: LeetCode:Pascal's TriangleGivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1... 阅读全文
posted @ 2013-11-21 22:47 tenos 阅读(890) 评论(0) 推荐(0) 编辑
摘要: 题目链接Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the... 阅读全文
posted @ 2013-11-21 22:37 tenos 阅读(1750) 评论(0) 推荐(0) 编辑
摘要: LeetCode:Best Time to Buy and Sell StockSay you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted... 阅读全文
posted @ 2013-11-21 22:02 tenos 阅读(11570) 评论(5) 推荐(4) 编辑
摘要: 题目如下: 二叉树的最大路径和(题目链接)Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below bin... 阅读全文
posted @ 2013-11-21 13:15 tenos 阅读(804) 评论(0) 推荐(0) 编辑

本博客rss订阅地址: http://feed.cnblogs.com/blog/u/147990/rss

公益页面-寻找遗失儿童