Halloween Sale
Unlock all premium questions for over 30% off
Collect Coins and Energy
Medium
Question
There are n houses in a line, and Alex walks past them starting from house 0 with initialEnergy units of energy. At house i, Alex can pick up either energy[i] energy or coins[i] coins.
...
Asked at:Point72
More Point72 interview questions
- Price Percentile Thresholdeasy
- League Ticket Earningseasy
- Array Frequency Sortingeasy
- Maximum Borrowing Daysmedium
- Run a Deterministic Finite Automatoneasy
- Bank Transaction Data Miningeasy
- Best Stock Price Subsequencehard
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.