sliding_extrema (cargo): Queue data structure with support for an O(1) extrema function over contents (for example, to obtain min and max over a sliding window of samples)
Keywords: queue