def get_combination(self, target, candidates, current, result):
        if not candidates or target > sum(current):
            return
        if sum(current)==target:
            result.append(current)
            return

        # add one of from the candidates
        for ind, val in enumerate(candidates):
            self.get_combination(target, candidates[ind:], current+[val], result)  # candidates[ind:] since possible repeat
dataset/ETHPy150Open algorhythms/LeetCode/039 Combination Sum.py/Solution.get_combination/swapped operands of `>`