Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Candlestick Data Generator
Medium
A trading platform displays price data as candlestick charts. Each candlestick summarizes trading activity over a fixed time interval and contains five values: [startTime, max, min, open, close].
Given a list of [time, price] pairs (not necessarily sorted) and an interval width of 10, generate the candlestick data for all intervals from the earliest to the latest that contain data. Intervals are aligned to multiples of 10 (i.e., [0,10), [10,20), [20,30), etc.).
...
Asked at:Robinhood
More Robinhood interview questions
- Find Middle Coursemedium
- Find Maximum Trade Sharesmedium
- Fractional Ordermedium
- Margin Callmedium
- Maximize Future Portfolio Valuemedium
- [Web Eng] Event Loggermedium
- Most Frequent Robinhood System Design Questionshard
- Load Factor Calculationmedium
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.