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

Merge sort visualization (2500 elements)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,292
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 11, 2011

This is a visualization of merge sort, that I recently programmed in C++.

Link to this comment:

Share to:

Uploader Comments (account1011011)

  • Well done sir. I like this.

  • @thexoor Thanks!

Top Comments

  • OMG, I don't fully understand the concept behind the merge sort, I can imagine the sort of stuff it involves, and this is awesome!

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • What is the music to this video?

  • @Handuel13

    One big advantage of a merge sort (which wasn't done here) is parallel processing. It's as if you had a huge pile of dockets in random order. And you have many helpers.

    So you give everybody a pile of dockets to sort. As each bundle gets sorted you will have some sorted bundles and some unsorted bundles. Then get people merging bundles until you have only two big bundles left. Which you then merge together.

    The process may mean extra comparisons but it's very fast.

  • @patrickcorliss KK thnx for explaining it, I was around right in what I thought it was.

  • @Handuel13

    As I understand it a merge sort is what many people do naturally when they are sorting a bit pile manually. Say a pile of dockets into date order.

    You sort the pile into order until it gets a bit too big to manage. Then you start another pile. Eventually you merge the two piles by turning over dockets in one pile and inserting from the other pile. Then you start on another pile.

    I do it manually all the time.

  • can i have the code? this is awesome!!!

Loading...
Alert icon
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