Available question text
Find the maximum sum you can collect jumping from index 0 to n-1 when each move can advance at most k steps; this reduces to DP with the recurrence dp[i] = nums[i] + max(dp[j]) for j in [i-k, i-1], requiring an efficient sliding-window maximum (monotonic queue/heap) to run in near-linear time for large n.
Related questions
Continue with questions that share topics or the same question type.
- Jump Game
Coding · Array · Dynamic Programming · Greedy
- Jump Game II
Coding · Array · Dynamic Programming · Greedy
- Jump Game III
Coding
- Jump Game IV
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1696. Jump Game VI
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source