GoLang Solution For LeetCode Problem: Combinations
Solving Combinations in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Input: n = 4, k = 2 Output: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ]
See the full details of the problem Combinations at LeetCode
Originally posted at: @github.com/halfrost/LeetCode-Go