[Reservoir sample](https://en.wikipedia.org/wiki/Reservoir_sampling). Rolling window represents `k` values sampled from a stream of unknown length.