Kth Largest Element in a Stream
Design a stream where you can find the kth largest element.
Approach: Min-Heap
Click play to start
Step 0 / 0
Press play to start the visualization.
1×
Design a stream where you can find the kth largest element.