Spurs

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

2017年9月12日

摘要: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: 做了好几个这种题了,就是 阅读全文
posted @ 2017-09-12 16:55 英雄与侠义的化身 阅读(116) 评论(0) 推荐(0) 编辑

摘要: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, have the following unique permutati 阅读全文
posted @ 2017-09-12 12:04 英雄与侠义的化身 阅读(167) 评论(0) 推荐(0) 编辑