def _next_index(self, s):
        self.set_index(self.index + 1)
def combinationSum(self, candidates, target):
        candidates.sort()
        self.result = []
        self.dfs(candidates,target,0,[])
        return self.result