Spurs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2017年9月11日

摘要: vector 判断是否存在某元素: 阅读全文
posted @ 2017-09-11 16:50 英雄与侠义的化身 阅读(165) 评论(0) 推荐(0) 编辑

摘要: Given a collection of distinct numbers, return all possible permutations. For example, [1,2,3] have the following permutations: 做了几个 backtrack 类的题目了, 阅读全文
posted @ 2017-09-11 16:24 英雄与侠义的化身 阅读(144) 评论(0) 推荐(0) 编辑

摘要: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num 阅读全文
posted @ 2017-09-11 11:58 英雄与侠义的化身 阅读(289) 评论(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 sum 阅读全文
posted @ 2017-09-11 09:37 英雄与侠义的化身 阅读(121) 评论(0) 推荐(0) 编辑

摘要: vector 弹出末尾元素 v.pop_back(); 阅读全文
posted @ 2017-09-11 09:11 英雄与侠义的化身 阅读(726) 评论(0) 推荐(0) 编辑