https://leetcode.com/problems/combination-sum/
This version does not consider if the given array has been sorted. But anyway, it passed all tests :P.
1 | class Solution: |
This version is more correct:
1 | class Solution: |
https://leetcode.com/problems/combination-sum/
This version does not consider if the given array has been sorted. But anyway, it passed all tests :P.
1 | class Solution: |
This version is more correct:
1 | class Solution: |