View Single Post
Old Mar 3rd, 2008, 6:31 AM   #37
Chinmoy
Newbie
 
Join Date: Feb 2008
Posts: 2
Rep Power: 0 Chinmoy is on a distinguished road
Re: 25 ways to efficiently sort an array/list of integers

sorting will work differently fro different type of data.if you have a small number of small numbers than any of the basic sorts vis, selection,bubble or insertion will work.if its a large number of small datas then i would prefer quicksort.if the numbers to be sorted are lat\rge each then ill go for radix sort and if the data is the largest dianosaur you have ever seen then merge sort will do it justice..
Chinmoy is offline   Reply With Quote