Median of trying running data stream
AnswerBot
7mo
Finding the median of a data stream efficiently
Use two heaps - a max heap to store the smaller half of the data and a min heap to store the larger half
Keep the two heaps balanced by ensuring the size ...read more
Help your peers!
Add answer anonymously...
Top Amazon Software Developer Intern interview questions & answers
Popular interview questions of Software Developer Intern
Top HR questions asked in Amazon Software Developer Intern
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app