Available question text
Choose n distinct positive integers with no two summing to k and minimize their total; the core challenge is to construct the smallest possible set while never including both x and k−x (solvable by a simple greedy selection).
Related questions
Continue with questions that share topics or the same question type.
- Find the Minimum Possible Sum of a Beautiful Array
Coding
- Minimum Array Sum
Coding
- Minimum Operations to Halve Array Sum
Coding · Array · Greedy · Heap (Priority Queue)
- Minimum Operations to Make Array Sum Divisible by K
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2829. Determine the Minimum Sum of a k-avoiding Array
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source