by neuromute · 10y ago · 0 comments
FWIW...
First search, "QuickSort" returned:
6 + 7 = 13
13 / 2 = 6.5
6.5 rounded down = 6
Next search, "BubbleSort", produced: It depends on the way your data is distributed - if you can make some assumptions. One of the best links I've found to understand when to use a bubble sort - or some other sort, is this - an animated view on sorting algorithms: http://www.sorting-algorithms.com/No comments yet.