def spacesCount(text):
            return len(text) - len(text.rstrip(' '))
def combinationSum(self, candidates, target):
        self.result = []
        self.dfs(candidates,0,target,[])
        return self.result