摘要:
题目: 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,4,1 阅读全文
posted @ 2016-02-03 16:53
zhangbaochong
阅读(227)
评论(0)
推荐(0)
摘要:
题目: Given a sorted integer array without duplicates, return the summary of its ranges. For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"]. 代 阅读全文
posted @ 2016-02-03 16:36
zhangbaochong
阅读(298)
评论(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]. Note:Could you optimize your algorithm t 阅读全文
posted @ 2016-02-03 16:13
zhangbaochong
阅读(300)
评论(0)
推荐(0)

浙公网安备 33010602011771号