摘要: 120. Triangle 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 阅读全文
posted @ 2019-05-07 22:12 mingL 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 119. Pascal's Triangle II Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts 阅读全文
posted @ 2019-05-07 22:05 mingL 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 118. Pascal's Triangle Given a non-negative integer numRows, generate the first numRows of Pascal's triangle. In Pascal's triangle, each number is the 阅读全文
posted @ 2019-05-07 21:59 mingL 阅读(135) 评论(0) 推荐(0) 编辑