Combination Sum III
Medium
Constraint Search Problems
Find all sets of k distinct digits from 1-9 that add up to n. Print each set in increasing order, one per line, in lexicographic order.
Constraints
2 <= k <= 9 1 <= n <= 60
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.