The Hurdle Race, is a HackerRank problem from Implementation subdomain. In this post we will see how we can solve this challenge in Python

Problem Description

Dan is playing a video game in which his character competes in a hurdle race. Hurdles are of varying heights, and Dan has a maximum height he can jump. There is a magic potion he can take that will in ....

You can find the full details of the problem The Hurdle Race at HackerRank

Solution: Please check the solution.py snippet for the solution.

Solution originally posted at: Github by @marinskiy