Sponsored
Use these hints if you're stuck. Try solving on your own first.
To reach nth step, what could have been your previous steps? (Think about the step sizes)
Solve with full IDE support and test cases