leetcode, combination Sum, simple refactor