Learn how to Make Money Online doing freelancing, Affiliate Marketing, Blogging and many more ...
Go4Expert
Go4Expert RSS Feed

Go Back   Programming and SEO Forum >  Go4Expert > Queries and Discussion > Programming

Reply  Copy HTML to Clipboard  Copy BBCode to Clipboard  | More
 
Bookmarks Thread Tools Search this Thread Display Modes
Old 11-23-2006, 06:55 PM   #1
Newbie Member
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
saomcol is on a distinguished road

Re: Sorting Algorithms


how can I add a counter to the shell sort or insertion sort tha counts the number of compariisons that are made?
saomcol is offline   Reply With Quote
Old 11-23-2006, 07:01 PM   #2
Newbie Member
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
saomcol is on a distinguished road

Re: Sorting Algorithms


I also need a prog to implement the tower of hannoi
saomcol is offline   Reply With Quote
Old 11-24-2006, 01:40 PM   #3
Newbie Member
 
Join Date: Nov 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
saomcol is on a distinguished road

Re: Sorting Algorithms


Thanx for your reply but I still need another answer:how can I modifyu the program to solve four pole tower of hannoi?
saomcol is offline   Reply With Quote
Old 11-24-2006, 01:47 PM   #4
Go4Expert Founder
 
shabbir's Avatar
 
Join Date: Jul 2004
Location: On Earth
Posts: 12,516
Thanks: 53
Thanked 276 Times in 215 Posts
Rep Power: 10
shabbir has much to be proud ofshabbir has much to be proud ofshabbir has much to be proud ofshabbir has much to be proud ofshabbir has much to be proud ofshabbir has much to be proud ofshabbir has much to be proud ofshabbir has much to be proud of
Send a message via Yahoo to shabbir

Re: Sorting Algorithms


Quote:
Originally Posted by saomcol
Thanx for your reply but I still need another answer:how can I modifyu the program to solve four pole tower of hannoi?
Refer Tower of Hannoi.
shabbir is offline   Reply With Quote
Old 05-02-2007, 12:53 AM   #5
Go4Expert Member
 
oleber's Avatar
 
Join Date: Apr 2007
Location: Lisbon, Portugal
Posts: 37
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
oleber is on a distinguished road
Talking

Re: Sorting Algorithms


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.
oleber is offline   Reply With Quote
Old 09-30-2007, 12:50 PM   #6
Ambitious contributor
 
clocking's Avatar
 
Join Date: Jun 2007
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 4
clocking is on a distinguished road

Re: Sorting Algorithms


oh, if you try write the code to sort array of integer in C#. C# library supported it.
clocking is offline   Reply With Quote
Reply  Copy HTML to Clipboard  Copy BBCode to Clipboard  | More


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Bookmarks

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 

All times are GMT +5.5. The time now is 05:22 AM.