Available question text
Two-player zero-sum game on an even-length array where players alternately take an entire pile from either end; determine whether the first player can force a win under optimal play. This is typically solved with interval DP/minimax, though for the given constraints (even number of piles and odd total) Alice can always win.
Related questions
Continue with questions that share topics or the same question type.
- Stone Game II
Coding
- Stone Game III
Coding
- Stone Game IV
Coding
- Stone Game IX
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
Google
Leetcode 877. Stone Game
Reported Nov 20, 2024 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source