[algogeeks] Re: BEST SORTING TECHNIQUE

2006-02-18 Thread adak
Oh yes. I've tested several versions of quicksort, against several other algo's. Once Quicksort was tuned, nothing matched it for a general purpose sorter of large N. If you read through my post, I showed the example on an array of what I was talking about with distribution sorting. Since it actu

[algogeeks] Magic Cube

2006-02-18 Thread Vikas Singh
Hi all,I faced this problem in my lab exam.I wonder if there could be any other method than brute force(for finding out no.s to be swapped) is possible.We've all seen magic squares before. They are square grids full of numbers arranged so that the rows, columns and diagonals all have the same sum:

[algogeeks] Re: BEST SORTING TECHNIQUE

2006-02-18 Thread Duck Dodgers
adak wrote: > With all caveats to the "different sorts work best in different > situations/data", posts above, the bare-assed fact of the matter is > that quicksort, WHEN SET UP PROPERLY for the data, will beat any other > general purpose sorting algorithim for anything other than trivial > number

[algogeeks] Re: here is a problem, I know the answer, but need more explanation to understand it

2006-02-18 Thread adak
What I'd like to see you do to answer this, is set up a Monte Carlo simulation program. Have it play 10,000 games with each possible answer to the flip or keep, question. All from random draws. Now compare their scores, and tell us who won. Did it match your expectations, or not? Adak --~--~--

[algogeeks] Re: BEST SORTING TECHNIQUE

2006-02-18 Thread adak
With all caveats to the "different sorts work best in different situations/data", posts above, the bare-assed fact of the matter is that quicksort, WHEN SET UP PROPERLY for the data, will beat any other general purpose sorting algorithim for anything other than trivial numbers. The real problem w

[algogeeks] Resourceful Link for Programming !

2006-02-18 Thread Mid
Hello, Resourceful Link for Programming ! http://get-best.com/IT_Interview_Questions/programming.htm --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to