摘要: LeetCode 40. Combination Sum II (组合总和 II) 题目 链接 https://leetcode.cn/problems/combination-sum-ii/ 问题描述 给定一个候选人编号的集合 candidates 和一个目标数 target ,找出 candid 阅读全文
posted @ 2022-06-13 22:51 cheng102e 阅读(20) 评论(0) 推荐(0) 编辑
摘要: LeetCode 39. Combination Sum (组合总和) 题目 链接 https://leetcode.cn/problems/combination-sum/ 问题描述 给你一个 无重复元素 的整数数组 candidates 和一个目标整数 target ,找出 candidates 阅读全文
posted @ 2022-06-13 22:37 cheng102e 阅读(43) 评论(0) 推荐(0) 编辑
摘要: LeetCode 17. Letter Combinations of a Phone Number (电话号码的字母组合) 题目 链接 https://leetcode.cn/problems/letter-combinations-of-a-phone-number/ 问题描述 给定一个仅包含数 阅读全文
posted @ 2022-06-13 22:23 cheng102e 阅读(26) 评论(0) 推荐(0) 编辑
摘要: LeetCode 216. Combination Sum III (组合总和 III) 题目 链接 https://leetcode.cn/problems/combination-sum-iii/ 问题描述 找出所有相加之和为 n 的 k 个数的组合,且满足下列条件: 只使用数字1到9 每个数字 阅读全文
posted @ 2022-06-13 18:16 cheng102e 阅读(20) 评论(0) 推荐(0) 编辑
摘要: LeetCode 77. Combinations (组合) 题目 链接 https://leetcode.cn/problems/combinations/ 问题描述 你可以按 任何顺序 返回答案。 示例 输入:n = 4, k = 2 输出: [ [2,4], [3,4], [2,3], [1, 阅读全文
posted @ 2022-06-13 16:44 cheng102e 阅读(16) 评论(0) 推荐(0) 编辑