Available question text
Given tokens and initial power, you can either spend power to gain score by playing small tokens face-up or spend score to gain power by playing large tokens face-down; maximize final score by optimally trading power and score. This is typically solved with a greedy two-pointer strategy on the sorted tokens to decide when to take a low-cost token for +1 score or sacrifice a point to replenish power.
Related questions
Continue with questions that share topics or the same question type.
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
Oracle
Leetcode 948. Bag of Tokens
Reported Aug 30, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source