Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sorting Algorithms
#7
Hazzy Wrote:Assuming the animations reflect time consumption... is there any reason to use one other than Quick Sort?
If you are able to make certain assumptions about the data to be sorted (such as that they are all integers from 1 to 100), you can use a faster sorting algorithm like bucket sort. Basically you can just count how many times each number occurs and then make the sorted list based on the count.
Reply


Messages In This Thread
Sorting Algorithms - by Cyadd - 2010-10-20, 10:01 PM
Sorting Algorithms - by Hazzy - 2010-10-20, 10:12 PM
Sorting Algorithms - by Russt - 2010-10-20, 10:55 PM
Sorting Algorithms - by Loose - 2010-10-20, 11:03 PM
Sorting Algorithms - by Fiel - 2010-10-20, 11:17 PM
Sorting Algorithms - by Cyadd - 2010-10-21, 12:04 AM
Sorting Algorithms - by Spaz - 2010-10-21, 02:10 PM
Sorting Algorithms - by Nikkey - 2010-10-21, 09:09 PM
Sorting Algorithms - by Russt - 2010-10-21, 11:46 PM
Sorting Algorithms - by Stereo - 2010-10-22, 12:28 AM
Sorting Algorithms - by Russt - 2010-10-22, 12:43 AM
Sorting Algorithms - by Nikkey - 2010-10-22, 06:32 AM
Sorting Algorithms - by Stereo - 2010-10-22, 01:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)