github.com/dmoose/slidingminmax (go): Golang code implementing windowed min/max using generics and deque
Keywords: dequeue|generic