alpaul wrote: > Now make the issue a bit simple, I jsut it is only 3 datas, which is A, > B, C, > According to the permutation rule, 2**3=6 > > AB-AC-BA-BC-CA-CB
It's hard to figure out what you are saying 2**3 is 8, not 6. I think you mean 2!=6. > > But it is enough for me to display on the web and retrieve it from the > database, becasue it isn't much data, > > If I have 100 data, then it will be 2**100=XXX > And it is very slow, Again it's hard to see what you mean. Do you mean you want to pick 5 out of the 100 at random? Try to make your question clearer and someone might be able to answer it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" 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/algogeeks -~----------~----~----~----~------~----~------~--~---
