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