Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1563. Stone Game V
Given an array of stone values, Alice repeatedly splits the current subarray into two non-empty parts; Bob discards the part with the larger sum (if equal Alice chooses) and Alice scores the sum of the remaining part, and the process continues on the remaining part until one stone remains. The task is to compute the maximum total score Alice can guarantee — a classic interval DP problem using prefix sums to evaluate optimal splits (n ≤ 500).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.