... 2: Results of simulating many iterations of U,for k = 255, and various values of s and u.Algorithm 1 RESERVOIRUPDATE(n, k, m, σ, s)Parameters:n : size of stream so fark : size of reservoir, ... e.g.: five updates of 1, or three updates of -1, using a single estimate.Consider a situation in which we have a reservoir of size k with some current value of s, 0 ≤ s ≤ k, and we wish to perform ... have a reservoir of size 5, containingthree values of −1, and two values of 1, then the exchangeabil-ity of the elements means the reservoir is fully characterized byknowing k, and that there...