#toyprogrammingchallenge
Here's a fun freebie! Only because I just recently saw a problem similar :)
This problem was asked by Facebook.
Given a stream of elements too large to store in memory, pick a random element from the stream with uniform probability.
Here us my attempt in python:
https://git.qoto.org/Absinthe/randchoice
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.
Here us my attempt in python:
https://git.qoto.org/Absinthe/randchoice