max package:more-containers
Combines two multisets, returning the max count of each element.
Returns the multimap's maximum key and value. The input function is
guaranteed to be called with a non-empty collection.
O(log m) Takes an element of maximum value from the multiset
and the remaining multiset, or
Nothing if the multiset was
already empty.