摘要: 1.题目描述 Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one tran 阅读全文
posted @ 2018-02-11 18:39 vlice 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 1.题目描述 Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6 阅读全文
posted @ 2018-02-11 18:20 vlice 阅读(174) 评论(0) 推荐(0) 编辑