Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Maximize Future Portfolio Value
Medium
You have a budget of m dollars to invest in securities. Each security is described by [symbol, currentPrice, futurePrice, maxShares]. Fractional shares are allowed, so you can buy any portion of a share up to maxShares total shares.
Your goal is to maximize the total future value of your portfolio. Any unspent budget is kept as cash and counts toward the total. You should only buy securities where the future price exceeds the current price. ...
Asked at:Robinhood
More Robinhood interview questions
- [Web Eng] Event Loggermedium
- Most Frequent Robinhood System Design Questionshard
- Load Factor Calculationmedium
- Employee Referral Programmedium
- Maximum Multiplier Pathhard
- Offset Commiteasy
- Maximum Stock Profiteasy
- Social Network Money Transfersmedium
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.