[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: not enough real programmers?
A "perfect shuffle" is a a shuffle where cards are split in exactly half
and then interleved perfectly. After a number of iterations of this
(I forget the number) the cards return to thier original order.
I think the random number question would be better. I really
did not like any of the questions in this list.
Eric Smith wrote:
> > prs@gol.com (Peter Stephenson) suggests the job interview task:
> > 4. "Write a program to perform a "perfect shuffle" on an array of 52
> > numbers."
>
> mojaveg@ridgecrest.ca.us (Everett M. Greene) writes:
> > Anybody with a good answer to question 4 doesn't need to be interviewing
> > for a job. There are any number of companies, academic institutions,
> > etc. who would like a definitive answer to that problem.
>
> I don't see why that should be a big problem. The program would simply
> use the provided RNG (Random Number Generator). :-)
- References:
- Re: Byte Magazine: 18 Vintage issues, 1985-1986
- From: "Bob Headrick" <bobh@proaxis.com>
- Re: Byte Magazine: 18 Vintage issues, 1985-1986
- From: mzenier@netcom.com (Mark Zenier)
- Re: Byte Magazine: 18 Vintage issues, 1985-1986
- From: bill_h <bill_h@sunsouthwest.com>
- Re: Byte Magazine: 18 Vintage issues, 1985-1986
- From: Charles Richmond <richmond@plano.net>
- Re: Byte Magazine: 18 Vintage issues, 1985-1986
- From: jschmitz@qis.net (JoAnne Schmitz)
- Re: Byte Magazine: 18 Vintage issues, 1985-1986
- From: rmk@toad.rmkhome.com
- not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
- From: Eric Smith <eric-no-spam-for-me@brouhaha.com>
- Re: not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
- From: Charles Eicher <ceicher@inav.net>
- Re: not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
- From: brucehoult@pobox.com (Bruce Hoult)
- Re: not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
- From: hshubs@mindspring.com (Howard S Shubs)
- Re: not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
- From: "Ian St. John" <istjohn@spamcop.net>
- Re: not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
- From: prs@gol.com (Peter Stephenson)
- Re: not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
- From: gillies@cs.ubc.ca (Donald Gillies)
- Re: not enough real programmers?
- From: mojaveg@ridgecrest.ca.us (Everett M. Greene)
- Re: not enough real programmers?
- From: Eric Smith <eric-no-spam-for-me@brouhaha.com>