there biker go road trip the road trip consist n 1 point different altitude the biker start trip point 0 altitude equal 0you give integer array gain length n gaini net gain altitude point 1 0 n return high altitude point example 1input gain 51507output 1explanation the altitude 054116 the high 1example 2input gain 4321432output 0explanation the altitude 047910631 the high 0 Constraintsn gainlength1 n 100100 gaini 100