摘要: 题目: Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3, Return [1,3,3,1]. Note: Could you optimize your algorithm to use only O(k) extra space? 思路: ... 阅读全文
posted @ 2015-04-06 20:01 烽 阅读(58) 评论(0) 推荐(0)