def hurdle_race(k, height):
    """Hackerrank Problem: https://www.hackerrank.com/challenges/the-hurdle-race/problem

    Hurdle race calculates how many doses the person must jump after their natural jump height k, given the hurdles.

    In short, we take the highest hurdle and subtract the jump k, and if it's negative, we return 0 as it means the
    runner can already clear the highest hurdle.  Otherwise, we know the difference is the number of doses needed to
    clear the highest hurdle.

    Args:
        k (int): the natural jump height of the runner
        height (list): list of integer hurdle heights the runner must clear

    Returns:
        int: number of doses needed to clear highest hurdle
    """
    return max(max(height) - k, 0)