Find the minimum number of steps to reach a target using an increasing counter.
Unlock detailed company stats for this questionUpgrade
A counter starts at 1 and increases by 1 each iteration. At each step you can add or subtract the counter's current value from a target number. Find the minimum number of steps to reach a given target.
Community answers
No answers contributed by the community yet.


