1

Learning

1

Introduction to Priority Queues using Binary Heaps

YouTube LinkLink 1

2

Min Heap and Max Heap Implementation

YouTube LinkLink 1

3

Check if an array represents a min-heap or not

YouTube LinkLink 1

4

Convert min Heap to max Heap

YouTube LinkLink 1

2

Medium Problems

1

Kth largest element in an array [use priority queue]

YouTube LinkLink 1Link 2

2

Kth smallest element in an array [use priority queue]

YouTube LinkLink 1

3

Sort K sorted array

YouTube Link

4

Merge M sorted Lists

YouTube LinkLink 1Link 2

5

Replace each array element by its corresponding rank

YouTube LinkLink 1

6

Task Scheduler

YouTube LinkLink 1Link 2

7

Hands of Straights

YouTube LinkLink 1Link 2

3

Hard Problems

1

Design twitter

YouTube LinkLink 1Link 2

2

Connect `n` ropes with minimal cost

YouTube LinkLink 1

3

Kth largest element in a stream of running integers

YouTube LinkLink 1Link 2

4

Maximum Sum Combination

YouTube LinkLink 1Link 2

5

Find Median from Data Stream

YouTube LinkLink 1Link 2

6

K most frequent elements

YouTube LinkLink 1Link 2