Maximize coins from array
Filed under SplashLearn
The question
Select an element X to get X coins, but remove all elements with value X+1 and X-1. Maximize total coins.
No write-up yet. Related questions below have one.
Related SplashLearn questions
Collected from public candidate posts and coding forums. Updated Nov 2026.