2010/9/27, [email protected]
<[email protected]>:
> =============================================================================
> Today's Topic Summary
> =============================================================================
>
> Group: [email protected]
> Url: http://groups.google.com/group/google-code/topics
>
>   - Scratch Cards [2 Updates]
>     http://groups.google.com/group/google-code/t/daec4e342e1db68d
>
>
> =============================================================================
> Topic: Scratch Cards
> Url: http://groups.google.com/group/google-code/t/daec4e342e1db68d
> =============================================================================
>
> ---------- 1 of 2 ----------
> From: peeyush Agrawal <[email protected]>
> Date: Sep 26 12:26AM +0530
> Url: http://groups.google.com/group/google-code/msg/13a73f0a3e620794
>
> or use the way you know, generate number, evaluate hash value check if it
> already exists, otherwise insert in hash for further usage....
>
>
> --
> This may harm your computer, sender not responsible.....
>
> Regards
> Peeyush Agrawal
> M.Tech.
> Indian Institute of Technology
> New Delhi
>
> +917827857543.
>
>
> ---------- 2 of 2 ----------
> From: Kristofer Karlsson <[email protected]>
> Date: Sep 26 09:59PM +0200
> Url: http://groups.google.com/group/google-code/msg/a84062b61b154f75
>
> I wrote a blog article about this very topic.
>
> Basically I have an algorithm that in constant time amortized (assuming hash
> lookups can be done in constant time) can provide a new distinct random
> integer.
>
> Memory usage is O(K) for retrieving K distinct integers.
>
> http://krkadev.blogspot.com/2010/08/random-numbers-without-repetition.html
>
>
> On Sat, Sep 25, 2010 at 8:56 PM, peeyush Agrawal <
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-codejam" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-code?hl=en.
>
>

-- 
Inviato dal mio dispositivo mobile

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to