Available question text
For each x from 1..n, determine whether the target k can be formed as a subsequence sum from the array obtained by replacing each nums[i] with min(nums[i], x). In other words, it's n repeated subset-sum feasibility checks on arrays with nondecreasing capped values (n, k ≤ 4000), requiring an efficient way to reuse work across caps.
Related questions
Continue with questions that share topics or the same question type.
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 3685. Subsequence Sum After Capping Elements
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source