2018年11月17日
摘要: 【题目】 Given a collection of distinct integers, return all possible permutations. 数组的组合情况。 【思路】 求子集,排列组合的数组题有固定模板。 【代码】 阅读全文
posted @ 2018-11-17 23:06 alau 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 【题目】 Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The solution set must not 阅读全文
posted @ 2018-11-17 22:52 alau 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 【题目】 Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. 求 阅读全文
posted @ 2018-11-17 22:41 alau 阅读(298) 评论(0) 推荐(0) 编辑