NYCPHP Meetup

NYPHP.org

[nycphp-talk] Question about random selection

Rolan Yang rolan at omnistep.com
Mon Dec 10 10:00:01 EST 2007


Anthony Papillion wrote:
>
> Hi Rolan,
>
> Thanks for the input. Works like a charm. I was approaching the 
> problem from the wrong angle.  Thanks again.
>

you should probably randomize the entire list and do an 
A->B,B->C,C->D,D->E, etc.. instead of pairing up because by the 4th or 
5'th gift, people might catch on that all their gift givers are paired 
together (not that it really matters but...)

~Rolan



More information about the talk mailing list