Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
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:
...
Asked at:Oracle
More Oracle interview questions
- Active Sprint Filtereasy
- Evens Before Oddsmedium
- Top Frequency Substringeasy
- Card Straight Checkeasy
- Cyclic Digit Primalitymedium
- Social Network Friend Suggestermedium
- Item Price Trackermedium
- [CodeSignal] Filtered Palindrome Checkeasy
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.