find-the-median-of-a-number-stream-medium__pattern-two-heaps__grokking-the-coding-interview-patterns-for-coding-questions
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Time Complexity of priority queue |
![]() ![]() ![]() |
3 | 59 | November 2, 2022 |
Why is this solution preferable to maintaining a sorted list and inserting with binary search? |
![]() ![]() |
2 | 52 | July 1, 2022 |
Brute force approach :Median of stream of numbers |
![]() ![]() |
1 | 104 | November 8, 2021 |
Why are we inserting -num to the maxHeap? |
![]() ![]() ![]() |
3 | 536 | October 13, 2021 |
Median of a stream of numbers |
![]() ![]() |
2 | 173 | November 18, 2020 |
How can we modify two heap approach to handle negative numbers |
![]() ![]() |
1 | 378 | August 12, 2020 |
Bug: comparator in heap |
![]() |
0 | 247 | December 31, 2019 |