摘要: 题目: 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 transac 阅读全文
posted @ 2016-06-24 10:13 panini 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题目: Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,Return [1,3,3,1]. 链接: http://leetcode.com/problems/pascals 阅读全文
posted @ 2016-06-24 09:28 panini 阅读(151) 评论(0) 推荐(0) 编辑