Akuna CapitalCodingMembers
Max Subsequence Sum Without Skipping Two in a Row
Members only
Akuna intern OA dynamic-programming problem: pick a subsequence of an array to maximize the sum, but you are never allowed to skip two elements in a row. It is a short two-state DP once you frame the constraint correctly. It rounds out the QR/SWE intern coding set alongside the greedy and array problems.
SWE
RS
dp
array
medium
Frequency
Low
Last asked
2025-10-29
Stage
oa
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
