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