Available question text
Given 3n piles, you repeatedly pick any three piles where Alice takes the largest, you take the second-largest, and Bob takes the smallest; compute the maximum total coins you can obtain after n rounds. The core challenge is to choose groupings that maximize the sum of the n second-largest elements (this reduces to a greedy/sorting strategy).
Related questions
Continue with questions that share topics or the same question type.
- Maximum Candies You Can Get from Boxes
Coding · Array · Breadth-First Search · Graph Theory
- Maximum Number of Books You Can Take
Coding
- Maximum Number of Consecutive Values You Can Make
Coding
- Maximum Number of Tasks You Can Assign
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 1561. Maximum Number of Coins You Can Get
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source