Maximum Sum Combinations Leetcode