kth-smallest-number-easy__pattern-top-k-elements__grokking-the-coding-interview-patterns-for-coding-questions
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Does not look optimal: Kth smallest using min Heap | 1 | 105 | September 25, 2022 | |
Simpler solution for kth smallest number | 1 | 97 | August 24, 2022 | |
Initializing the min-heap with all numbers will take O(N) | 2 | 323 | January 30, 2022 | |
Why does it heappush -nums[i]? | 2 | 387 | March 16, 2022 |