Leetcode 216- Combination sum-3 unexpected behavior in my code
for an input of n=3 and k=7 why is the combination [1,2,3] being added despite its sum being 6 and not 7.
for an input of n=3 and k=7 why is the combination [1,2,3] being added despite its sum being 6 and not 7.