title: Reservoir sampling
body: <p>To retrieve <em>k</em> random numbers from an array of undetermined size we use a technique called reservoir sampling. Can anybody briefly highlight how it happens with a sample code?</p>