Approach hintTry it first, then revealHide
Using the largest step whenever possible is optimal, so the number of steps follows from integer ceiling division rather than a loop.
Using the largest step whenever possible is optimal, so the number of steps follows from integer ceiling division rather than a loop.