Reach End of Array With Max Score
Every position pays the largest value seen so far, so the score is a running maximum summed over all positions before the last.
Every position pays the largest value seen so far, so the score is a running maximum summed over all positions before the last.