ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Video Explaining Sort Algorithms

    Developer Discussion
    sort
    4
    8
    2.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Reid CooperR
      Reid Cooper
      last edited by Reid Cooper

      Awesome GIF explaining visually how common sort algorithms work and how their performance differs.

      aPyoG4P_460sv_v1.gif

      thanksajdotcomT 1 Reply Last reply Reply Quote 2
      • thanksajdotcomT
        thanksajdotcom @Reid Cooper
        last edited by

        @Reid-Cooper said:

        Sadly this is an MP4 so can't just embed it, but well worth viewing.

        http://img-9gag-ftw.9cache.com/photo/aPyoG4P_460sv_v1.mp4

        That's pretty cool!

        1 Reply Last reply Reply Quote 0
        • Reid CooperR
          Reid Cooper
          last edited by

          It's extremely handy for CS students to quickly see how the sort algorithms work. A great idea.

          1 Reply Last reply Reply Quote 0
          • Reid CooperR
            Reid Cooper
            last edited by

            Managed to get it converted to a GIF with Zamzar. No need to go anywhere else now.

            1 Reply Last reply Reply Quote 0
            • thanksajdotcomT
              thanksajdotcom
              last edited by

              Sweet!

              1 Reply Last reply Reply Quote 0
              • StrongBadS
                StrongBad
                last edited by

                Great find, that is incredibly useful.

                1 Reply Last reply Reply Quote 0
                • DominicaD
                  Dominica
                  last edited by

                  Ah, so it's showing how long it takes in relation to the others? That's a great visual.

                  StrongBadS 1 Reply Last reply Reply Quote 0
                  • StrongBadS
                    StrongBad @Dominica
                    last edited by

                    @Dominica said:

                    Ah, so it's showing how long it takes in relation to the others? That's a great visual.

                    Yes, you can see how long the sorts take given different sorting methods as well as with different starting points (different algorithms work better or worse with different types of data) and you can see it working it through so that you can somewhat tell how the algorithm is doing the sort as it goes. It's a little too fast to do that well, though. I wish that it was a little slower.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post