Problem 3205 · Medium

Maximum Array Hopping Score I

Each landing index keeps its best score; a hop from an earlier index adds (distance times the landing value).

Open the interactive visualisation