Available question text
Find the smallest non‑negative x such that the digit sum of n+x is ≤ target. This reduces to finding the minimal increment that rounds n up at some digit position (carrying through lower digits to zero them) until the resulting digit sum becomes ≤ target.
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 2457. Minimum Addition to Make Integer Beautiful
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source