摘要:
You have a total of n coins that you want to form in a staircase shape, where every k-th row must have exactly k coins. Given n, find the total number 阅读全文
posted @ 2017-05-31 10:25
无惧风云
阅读(123)
评论(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 to us 阅读全文
posted @ 2017-05-31 10:13
无惧风云
阅读(147)
评论(0)
推荐(0)
浙公网安备 33010602011771号