Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   sorting problem (http://www.go4expert.com/forums/sorting-problem-t22980/)

juglers 10Aug2010 12:44

sorting problem
 
where to use these sorting techniques? what conditions demand each of them?

insertion sort
selection sort
quick sort
merge sort
bubble sort
radix sort

some article will help
thank you

Ancient Dragon 10Aug2010 21:06

Re: sorting problem
 
where to use them: anywhere you need the information arranged in some logical fashion, such as listing people alphabetically by their last and first names.

Those are just different algorithms that do the same thing -- sort. You could use any of them for any given task, although some might do it faster than others. There is no "right one for the right job" sort of thing. Use any algorithm you want.

virxen 11Aug2010 03:17

Re: sorting problem
 
try this
http://en.wikipedia.org/wiki/Sorting_algorithm


All times are GMT +5.5. The time now is 23:42.