Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

OpenGL Animation - Heap Sort

Loading...

Sign in or sign up now!
36,975
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 11, 2008

Heap Sort Animation

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 8 dislikes

Link to this comment:

Share to:

Top Comments

  • So who won?

  • OMG! this is great.

see all

All Comments (22)

Sign In or Sign Up now to post a comment!
  • @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 ?

  • @putzmitt3l

    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

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more