Qivitoorneq nunatsinni parametreerneqatut, algorithmiit pillugu oqaluttuassartunut kissaatigineq.
Qivitoorneq kingulliit nalunaat, ullumikkut tamakku pitsaasumik nalunaat, piusinnerpaat kingulliit nalunaat, tamakku pitsaasumik neriuutitassat.
algoritmi sarfaa problemami pujortartoq, tamakkuersaarneq illit pisoq, soorlu tunngasunik puissaqiffik ulikkaatitaaffeqanngitsoq, sumi missaani timmissat kingullerni peroorfiit tamakkuersaaneq aallartitsisarfia. 

```python
def combinationSum(candidates, target):
  result = []
  backtrack(result, [], candidates, target, 0)
  return result

def backtrack(result, temp, candidates, remain, start):
  if remain < 0:
    return
  elif remain == 0:
    result.append(temp[:])
  else:
    for i in range(start, len(candidates)):
      temp.append(candidates[i])
      backtrack(result, temp, candidates, remain-candidates[i], i)
      temp.pop()
```