Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 414 Bytes

File metadata and controls

13 lines (7 loc) · 414 Bytes

Daily Coding Problem

Note: Continuous improvements and bug fixes are made within the repository to produce better solutions.

Day 15

Given a stream of elements too large to store in memory, pick a random element from the stream with uniform probability.

If you liked this problem, feel free to forward it along!

This problem was asked by Facebook.

Solution | Tests