← Amazon questions
CodingReported in a candidate post, Aug 2021

Minimize steps to reach target from 1 by adding 1 or doubling

Filed under Amazon

Find the minimum number of operations to reach a target integer starting from 1, where allowed operations are adding 1 or doubling the current value.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.