This MSDN article proves the correctness of Reservoir Sampling algorithm 开发者_JAVA技巧as follows:
I am creating a signup application with validation and Captcha (using SimpleCaptcha). I am able to deploy my application on localhost and everything works perfectly inclusive of the captcha.