Groups
Category
Level
Small-to-large means always merge the smaller container into the larger one to keep total work low.
A priority queue returns the highest-priority element first and is efficiently implemented by a binary heap.