Codility - Frog Jump

Solution to Codility lesson1-exercise2¬†Frog Jump problem, link to Codility problem and complete solution at the end of the post. Definitions: Problem: Define a function solution with input X, Y, D, such that solution returns the minimum number of jumps needed to reach a position equal or greater than Y from position X, being D the […]

Read More