I am getting wrong ans in problem Kth largest element in a stream on geeks for geeks.
my solution : https://pastebin.com/6pnC3bfF
I am getting wrong ans in problem Kth largest element in a stream on geeks for geeks.
my solution : https://pastebin.com/6pnC3bfF
the link for pastebin is no longer working. It says that the page has been removed.
It seems to be working for me though.