摘要: 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-10-07 21:07 799 阅读(174) 评论(0) 推荐(0) 编辑
摘要: < 不得不吐槽一句,博客园的体验真的不如印象笔记,图片缩小太不方便阿而且界面乱而且丑> Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Return [ [1 阅读全文
posted @ 2017-10-07 19:29 799 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums 阅读全文
posted @ 2017-10-07 15:50 799 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 1.catch 单个文件资源下载:(测试证明 2017年的单个文件就可以了,2010年需要一个包的文件,歌颂技术进步) https://raw.githubusercontent.com/philsquared/Catch/master/single_include/catch.hpp 2.catc 阅读全文
posted @ 2017-10-07 14:39 799 阅读(1913) 评论(0) 推荐(0) 编辑