JobsJob TrackerJob alerts

SplashLearn ยท 11 questions

All 11Coding 10Low-Level Design 1
  • Longest natural sorted subsequenceCoding
  • Count higher capability studentsCoding
  • Efficient bus routeCoding
  • Maximize coins from arrayCoding
  • Longest Palindromic SubsequenceCoding
  • Delete and EarnCoding
  • Minimum Time from Source to Destination with Bus ChangesCoding
  • Implementation of a Ranking TableLow-Level Design
  • Coding and DecodingCoding
  • Convert 33 to 933 with Minimum OperationsCoding
  • Unique Handshakes Among N PeopleCoding
โ† SplashLearn questions
  1. Interview questions
  2. SplashLearn
  3. Maximize coins from array
Coding

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

  • Count higher capability students
  • Efficient bus route
  • Minimum Time from Source to Destination with Bus Changes
  • Coding and Decoding
  • Convert 33 to 933 with Minimum Operations
โ† Efficient bus routeLongest Palindromic Subsequence โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.