Problem 1696 · Medium

Jump Game VI

Start at index zero, jump forward up to k positions each step, and maximize the total score including the last index. The visual shows a window of the best recent scores feeding each new position.

Open the interactive visualisation