Practice
Learn
← Quit
0 / 0 correct
Algorithms
Hard
1 of 473
What is reservoir sampling used for?
A
Finding duplicates
B
Sorting streams
C
Compressing streams
D
Choosing k uniformly random items from a stream of unknown length in one pass with O(k) memory