Solution: Jump Game
Let's solve the Jump Game challenge using the Greedy pattern.
Statement
In a single-player jump game, the player starts at one end of a series of squares, with the goal of reaching the last square.
At each turn, the player can take up to steps towards the last square, where is the value of the current square.
For example, if the value of the current square is ...
Access this course and 1400+ top-rated courses and projects.