Learning
1
Introduction to Priority Queues using Binary Heaps
2
Min Heap and Max Heap Implementation
3
Check if an array represents a min-heap or not
4
Convert min Heap to max Heap
Medium Problems
Kth largest element in an array [use priority queue]
Kth smallest element in an array [use priority queue]
Sort K sorted array
Merge M sorted Lists
5
Replace each array element by its corresponding rank
6
Task Scheduler
7
Hands of Straights
Hard Problems
Design twitter
Connect `n` ropes with minimal cost
Kth largest element in a stream of running integers
Maximum Sum Combination
Find Median from Data Stream
K most frequent elements