Available question text
Given an array and a step k, pick a starting index and sum the values at i, i+k, i+2k, ... until you fall off the end (you must take negative values too); return the maximum possible total. The core challenge is to evaluate these k interleaved arithmetic subsequences and pick the maximum suffix sum among them.
Related questions
Continue with questions that share topics or the same question type.
- Maximum Energy Boost From Two Drinks
Coding
- Find Maximum Removals From Source String
Coding
- Given an array nums and a sliding window of size k moving from the very left to the very right, return the maximum value in the window for each position. Solve in O(n) time using a deque.
Coding
- Maximum Candies You Can Get from Boxes
Coding · Array · Breadth-First Search · Graph Theory
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 3147. Taking Maximum Energy From the Mystic Dungeon
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source