---
title: "#combination-sum articles | Hashnode"
description: "Explore 3 articles tagged #combination-sum on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/combination-sum"
---

Tag

# #combination-sum

3 posts · 0 followers

[MrHe](https://hashnode.com/@MrHe) · [Oct 3, 2025](https://hashnode.com/posts/combination-sum/68dfd74e14fce7d21a6426ac)

### [组合总和(Combination Sum)](https://xiaoh.hashnode.dev/combination-sum?utm_source=hashnode&utm_medium=feed)

好的，今天咱们来聊一个经典的面试题，也是组合数学里的常客——组合总和 (Combination Sum)。 这道题挺有意思，它能很好地体现一个程序员从暴力到优化的思维过程。咱们的目标不是把它AC了就完事，而是要把里面的套路吃透，以后遇到类似的什么排列、组合、子集问题，脑子里得立马有思路。 题目描述 给你一个无重复元素的整数数组 candidates 和一个目标整数 target，找出 candidates 中可以使数字和为 target 的所有不同组合。 candidates 中的每个数字在每个...

4 min read · [xiaoh.hashnode.dev](https://xiaoh.hashnode.dev/combination-sum?utm_source=hashnode&utm_medium=feed)

[Chetan Datta](https://hashnode.com/@chetan77) · [Aug 28, 2024](https://hashnode.com/posts/combination-sum-1/66cf331682bb57c5faa12657)

### [Combination Sum 1](https://chetan77.hashnode.dev/combination-sum-1?utm_source=hashnode&utm_medium=feed)

Problem Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may return the combinations in any order. The same number may be ch...

2 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/combination-sum-1?utm_source=hashnode&utm_medium=feed)

[Vineeth Chivukula](https://hashnode.com/@vineethchivukula) · [Jul 8, 2024](https://hashnode.com/posts/solving-combination-sum/668bdbdff92fd3685c421b04)

### [Solving Combination Sum](https://vineethchivukula.hashnode.dev/solving-combination-sum?utm_source=hashnode&utm_medium=feed)

To see the question, click here. Naive Approach The idea is to use the concept of backtracking. Initialize a result list to store all valid combinations and a temporary list temp to store the current combination being explored. Assume a recursive fun...

4 min read · [vineethchivukula.hashnode.dev](https://vineethchivukula.hashnode.dev/solving-combination-sum?utm_source=hashnode&utm_medium=feed)
