Easy
A biker starts at altitude 0. gain[i] is the net gain between point i and i+1. Return the highest altitude reached.
gain[i]
Input: gain = [-5,1,5,0,-7] Output: 1
Input: gain = [-4,-3,-2,-1,4,3,2] Output: 0