Question DSA-HEAP-0050
MediumWhich problem is solved with two heaps (a max-heap and a min-heap)?
- A.
Keeping the running median of a stream
- B.
Sorting a linked list
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Heaps and Priority Queues question
Which problem is solved with two heaps (a max-heap and a min-heap)?
Keeping the running median of a stream
Sorting a linked list
Sign up free to see the answer and a step-by-step explanation.
Finding a cycle
Binary search