Interview Questions
Interview Guides
Experiences
Explore
Get started
Sign in
Interview Guides
All questions
/
Coding
Efficient Rolling Median
Hard
Arrays
Sorting
Heap
Problem
Write a function to compute the rolling median of an array of stock prices efficiently.
Question
Answer
Problem
Write a function to compute the rolling median of an array of stock prices efficiently.
Your answer
Edit
Preview
Try one AI text evaluation on us
Get structured feedback, scored against a 4-axis rubric. Premium unlocks unlimited.
0 words
target ~200
Try a free preview
Stuck? Get a hint
Past attempts
Up next
Sliding Window Moving Median
Hard
Running Median Over Stream
Hard
Rolling Average Without Built-ins
Medium
Next question
Efficient Rolling Median | Dataford Interview Questions