摘要: 1.题目描述 Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Retu... 阅读全文
posted @ 2013-08-11 13:24 曾见绝美的阳光 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述 Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return ... 阅读全文
posted @ 2013-08-11 12:52 曾见绝美的阳光 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述 Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. ... 阅读全文
posted @ 2013-08-11 12:38 曾见绝美的阳光 阅读(340) 评论(0) 推荐(0) 编辑