OpenGL Animation - Heap Sort
Top Comments
All Comments (22)
-
@brunocafeo did you animate this with a toaster?
-
@frosty1433 Are you stupid? This is an animation, not an actual run.
-
@AstralAbraxas heapsort is also more immune to those stupid attacks on servers than quicksort (because quicksort hates sorted data - gets O(n) complexity...), so it's much more secure in many apps ;)
-
@ChiroExplainPlox watching this is confusing... but heapsort is O(nlogn) and competes with quicksort in effeciency. Quicksort if used right is slightly more efficient but has a worst case time of O(n^2). It's an excellent choice when needing to sort over a 1000 elements.
-
isn't tree selection less of a mindfuck and faster ?
-
jokes, develloper don't get them.
-
Very nice! But resolution could be better ;)
-
@fermixx of course; this algorithm is efficient when sorting more numbers. for sorting around 15 numbers, O(n^2) algorithms might be faster than O(nlogn) algorithms.
-
nice creativity.
-
@Alarindris man that's not a game. it's a sorting method used to arrange elements of an array depending on the characteristics they are sorted. Example with numbers: 5.6.7.9.8.10.1.4.3.2 ->(after sorting) 1.2.3.4.5.6.7.8.9.10
So who won?
Alarindris 1 year ago 9
OMG! this is great.
snasebrase 3 years ago 5