Priority Queue

Problems on priority queues, including always taking the smallest or largest element, merging sorted lists, scheduling tasks by deadline or priority, running medians, the k-th smallest element and simulating events in time order.

The priority queue article in the Data structures section explains the heap behind it, and Dijkstra's algorithm shows its best-known use. Related problem sets are under Greedy algorithms and Data structures.

Problemas

Tram#460

Fácil (≈1000)

Double Queue#790

Media (≈1350)

Barbershop#1587

Muy fácil (≈850)

K Smallest Sums#2057

Muy fácil (≈850)

Super minimum#2248

Fácil (≈1000)

Running Median#2443

Muy fácil (≈850)

Stock Prices#2456

Muy fácil (≈850)

Choosing a Camera#2566

Media (≈1350)

Quelling Blade#3094

Muy difícil (≈2050)

Walking the Plank#3130

Difícil (≈1650)

Light Road#3286

Difícil (≈1650)

Queue#3809

Muy fácil (≈850)

Schedule#3929

Muy fácil (≈850)

Estimation#3975

Difícil (≈1650)

Find the Median - 2#4074

Muy fácil (≈850)

Priority Queue#4847

Fácil (≈1000)

Space pebbles#4974

Fácil (≈1000)

Kingdom of Magic#5159

Difícil (≈1650)

Two professors#5737

Muy fácil (≈850)

1-25 de 61