Re: Sorting Algorithms
|
Newbie Member
|
|
| 23Nov2006,19:55 | #1 |
|
how can I add a counter to the shell sort or insertion sort tha counts the number of compariisons that are made?
|
|
Newbie Member
|
|
| 23Nov2006,20:01 | #2 |
|
I also need a prog to implement the tower of hannoi
|
|
Newbie Member
|
|
| 24Nov2006,14:40 | #3 |
|
Thanx for your reply but I still need another answer:how can I modifyu the program to solve four pole tower of hannoi?
|
|
Go4Expert Founder
|
![]() |
| 24Nov2006,14:47 | #4 |
|
Quote:
Originally Posted by saomcol |
|
Go4Expert Member
|
![]() |
| 2May2007,00:53 | #5 |
|
Let me be bad, the Bubble Sort is the best algorithm for near sorted lists
.This means, if the elements are in there places or really near and you need the list sorted (is used in games and military area), Bubble Sort may be your choise since works locally. Most of the other algorithm work globally.
|
|
Ambitious contributor
|
|
| 30Sep2007,12:50 | #6 |
|
oh, if you try write the code to sort array of integer in C#. C# library supported it.
|



.
and military area), Bubble Sort may be your choise since works locally. Most of the other algorithm work globally.