Available question text
Given startValue and target, compute the minimum operations to reach target using multiply-by-2 and minus-1; the optimal approach is to work backwards from target applying inverse operations (if target is even divide by 2, if odd add 1) until it drops to or below start, then finish by taking the remaining differences.
Related questions
Continue with questions that share topics or the same question type.
- Babysitter Pay Calculator
Coding
- Basic Calculator
Coding
- Basic Calculator II
Coding · Math · Stack · String
- Basic Calculator III
Coding · Math · Recursion · Stack
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 991. Broken Calculator
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source