Groups
Category
Level
Small-to-large means always merge the smaller container into the larger one to keep total work low.
A hash table stores keyโvalue pairs and finds items in expected O(1) time using a hash function to map keys to buckets.