Available question text
Given a purchaseAmount (0–100), round it to the nearest multiple of 10 (ties of 5 round up) and subtract that roundedAmount from a starting balance of 100; return the remaining balance.
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 2806. Account Balance After Rounded Purchase
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source