New
Dark mode is now available across the site
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
JobRadar
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Robinhood
Coding Question
AI Insights
Quick Summary
Group timestamped price pairs into fixed 10-unit time windows.
Compute OHLC metrics based on chronological order within each populated window.
Detect missing intervals and forward-fill them using the previous interval's closing price.
What This Tests
Data aggregation and bucketing techniques
Sorting and sequential iteration
Gap detection and stateful forward-filling
Handling real-world time-series edge cases
Common Patterns
Sorting
Hashing
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected