Summer Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
14
:
03
:
48
:
03
Back to Dashboard
Tower Game Optimizer
Medium
FREE
A tower has n floors numbered from 0 to n - 1. Each floor has an energy cost to traverse and a reward value. You start a ball at one chosen floor and it descends through consecutive floors until energy runs out.
Given two integer arrays costs and rewards, and an integer energy:
...
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.