[algogeeks] Re: bank card problem

2008-12-10 Thread Miroslav Balaz
I thik it is wll known classical problem,or there is some similar well known problem, you need O(n) comparisons. Randomized pick eight random cards and compare then to each other. and you have very low probabilty that you always choose bad card. Deterministic. just compare 1 and second, third and f

[algogeeks] Joker concept for a site using dynamic combo boxes in Java script

2008-12-10 Thread G.Arun Bala
Hi all, Please Check this if this script is okay for joker concept using dynamic combo boxes in Java script.. Thanks http://openingbrace.com/joker_1.html -- Arun Bala G --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[algogeeks] Re: bank card problem

2008-12-10 Thread Miroslav Balaz
ok, and when n is not even, you need to test explicitly the last element with the whole cards. 2008/12/10 Miroslav Balaz <[EMAIL PROTECTED]> > I thik it is wll known classical problem,or there is some similar well > known problem, you need O(n) comparisons. > Randomized > pick eight random cards

[algogeeks] League Scheduling Problem

2008-12-10 Thread Ross
I have a problem which is a variation of the Sports League Scheduling Problem. This problem pertains specifically to a tennis league at my own sports club. Each winter, the pro puts out a blank sheet of paper for people to sign up for tennis leagues. From year to year, the number of people who sig

[algogeeks] bank card problem

2008-12-10 Thread Tower
A bank has a collection of n bank cards that they’ve confiscated, suspecting them of being used in a fraud. Each bank card corresponds to a unique account in the bank. Each account can have many cards corresponding to it, and we’ll say that two bank cards are equivalent if they correspond to the s