DFS
路漫漫,远修兮
这个作者很懒,什么都没留下…
展开
-
LeetCode_39. Combination Sum_路漫漫远修兮
一、原题目 Given asetof candidate numbers (candidates)(without duplicates)and a target number (target), find all unique combinations incandidateswhere the candidate numbers sums totarget. Thesa...原创 2019-05-08 21:11:30 · 118 阅读 · 0 评论 -
LeetCode_40. Combination Sum II_路漫漫远修兮
一、原题目 Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations incandidateswhere the candidate numbers sums totarget. Each number incand...原创 2019-05-08 21:26:19 · 109 阅读 · 0 评论 -
LeetCode_216. Combination Sum III_路漫漫远修兮
一、原题目 Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. Note: All num...原创 2019-05-08 21:39:43 · 113 阅读 · 0 评论 -
LeetCode_377. Combination Sum IV_路漫漫远修兮
一、原题目 Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. 二、题目大意 给定一个没有重复元素的列表和一个整数k 要求:求列...原创 2019-05-08 21:59:14 · 254 阅读 · 0 评论