Problem 3660 · Medium

Jump Game IX

From each index, jump right only toward smaller values and left only toward larger values. The answer at each index is the largest value reachable.

Open the interactive visualisation