Closed ymoullec closed 4 years ago
Thanks for opening this pull request! Please check out our contributing guidelines.
Thanks. I'm a bit occupied till 20th, so I might not get time to review the code before that. Till then, you can look around other issues if you wish.
Ok good to know. When you do review the code, if you find any problem that can be described in less amount of time than what it takes to fix it, I'll be happy to fix it for you.
I've reviewed the code. You don't actually need to change anything. Just go through the reviews and mark them resolved once you are convinced. Then, you can just overwrite your code with this link
Finally, move the file to the Heaps
folder.
I think everything has been taken care of. I've made the changes and updated my pull request.
Good Work. Merged!
Congrats on merging your first pull request! We here at behaviorbot are proud of you!
This is my version of the Kth Largest Element in a Stream Algorithm. This PR concerns the issue #40.
I kept the basic 2-function structure that was given as a template in LeetCode.
If the priority queue uses a heap data structure, time complexity is :