GoLang Solution For LeetCode Problem: Combination Sum III
Solving Combination Sum III in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
- All numbers will be positive integers.
- The solution set must not contain duplicate combinations.
Input: k = 3, n = 7 Output: [[1,2,4]]
Input: k = 3, n = 9 Output: [[1,2,6], [1,3,5], [2,3,4]]
See the full details of the problem Combination Sum III at LeetCode
Originally posted at: @github.com/halfrost/LeetCode-Go