Available question text
Given a list of decimal numbers and an integer target, choose for each number whether to round down or up to an integer so that the rounded sum equals the target while minimizing the total absolute rounding error (or report impossible). The core challenge is a feasibility check plus a combinatorial minimization that is resolved by selecting which values to ceil based on their fractional parts.
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 1058. Minimize Rounding Error to Meet Target
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source