These are among the most popular sorting algorithms
Bubble sort
Insertion sort
Shell sort
Merge sort
Heapsort
Quicksort
Radix sort
Hope this helps..
2006-08-18 20:57:03
·
answer #1
·
answered by Anonymous
·
0⤊
0⤋
ok, now that you rephrased your question, it's a little more understandable.
Sorting algorithms are often generalized for optimum situations (unlimited memory, similar processing capabilities of the hardware, etc...) so that the only thing being compared is the time it takes for them to run. According to the first site i linked, Quicksort comes out on top. According to the Wikipedia article, MergeSort seems like a good bet because it's best case is the same as it's worst case scenario.
Realistically, the "best" sorting algorithm really depends on the application. Some might be really fast, but are impractical because of the memory resources they require.
If you're looking for simply two algorithms that have exactly the same speed, check out the table at the wikipedia article. There are several that have the same O speed for best, normal, and worst cases.
2006-08-18 21:04:22
·
answer #2
·
answered by Anonymous
·
0⤊
0⤋
Yes, life is divided between two sides, which is the bad and the good.. God and Devil.. It's like math the good side always wins and mathematically is a greater portion of winning at the end than the bad.
The answer is yes and as humans we can not decide whether the decisions we made are good or bad until the end results.
Because sometimes even a step that we take thinking is good it may not be beneficial to us and it turns into a bad decision.
2006-08-18 21:00:21
·
answer #3
·
answered by Shantal F 2
·
0⤊
0⤋
There are many sorting algorithms. There is no BEST one. Which one is optimal depends on your specific data and hardware situation
2006-08-18 20:53:56
·
answer #4
·
answered by lampoilman 5
·
0⤊
0⤋