Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    15 Sorting Algorithms in 6 Minutes

    Timo Bingmann

    4 HN recommenders · recommended in 8 months, 2014–2023

    YouTube

    5:50 · 29M views · May 20, 2013

    A visualization and sonification of 15 sorting algorithms, from selection sort to bogo sort, run on shuffled integers in six minutes. Each algorithm gets a size and speed scaled to its complexity.

    A classic that HN points to for seeing how sorting algorithms behave, valued for how satisfying it is to watch and hear.

    Mathematics & Theoretical CSAlgorithms & data structuresData visualization & information design
    1. 1:54:46
      Lenses, Folds, and TraversalsEdward Kmett54K views • 13 years ago
    2. 25:13
      Thinking outside the 10-dimensional box3Blue1Brown3.2M views • 9 years ago
    3. 2:50
      SORTDEMO.BASfragglet10K views • 16 years ago
    4. 1:29:55
      Sorting Algorithms: Speed Is Found In The Minds of People - Andrei Alexandrescu - CppCon 2019CppCon184K views • 7 years ago
    5. 6:55
      Quick-sort with Hungarian (Küküllőmenti legényes) folk danceAlgoRythmics2.4M views • 15 years ago
    6. 12:20
      I Solved Klotski2swap2.1M views • 1 year ago
    7. 53:56
      Three Beautiful QuicksortsGoogle TechTalks45K views • 19 years ago
    8. 1:20:11
      17. Succinct Structures IMIT OpenCourseWare17K views • 12 years ago
    9. 51:47
      Lecture 19: Dynamic Programming I: Fibonacci, Shortest PathsMIT OpenCourseWare2.9M views • 13 years ago
    10. 6:18
      Animated Voting MethodsUnify The Vote16K views • 9 years ago
    11. 14:28
      Superpositions, Sudoku, the Wave Function Collapse algorithm.Martin Donald764K views • 6 years ago
    12. 27:13
      Robust-first computing: Demon Horde Sort (full version)Dave Ackley14K views • 13 years ago
    13. 26:48
      Algorithmic Redistricting: Elections made-to-orderAlphaPhoenix584K views • 5 years ago
    14. 27:42
      Mark DiMarco: User Interface Algorithms [JSConf2014]JSConf52K views • 12 years ago
    15. 1:07:41
      Modern Dictionaries by Raymond HettingerSF Python150K views • 9 years ago
    16. 30:37
      High-performance Tree Wrangling, the APL Way // Aaron Hsu // Dyalog '18Dyalog User Meetings5.8K views • 7 years ago
    17. 25:39
      H3: Tiling the Earth with HexagonsUber Engineering53K views • 8 years ago
    18. 7:42
      Extremely Large Numbers 1 - IntroductionGiroux Studios20K views • 11 years ago
    19. 58:36
      Advanced Topics in Programming Languages: A Lock-Free Hash TableGoogleTalksArchive29K views • 14 years ago
    20. 28:47
      Someone improved my code by 40,832,277,770%Stand-up Maths3.1M views • 4 years ago

    8 comments from Hacker News

    1. @bestboyDec 2020· in “Bubblesort, rocksort, and cocktail-shaker sort”

      just want to quickly share an IMHO interesting sorting algorithm visualization video: this video "Visualization and "audibilization" of 15 Sorting Algorithms in 6 Minutes. Sorts random shuffles of integers, with both speed and the number of items adapted to each algorithm's complexity. The algorithms are: selection sort, insertion sort, quick sort, merge sort, heap sort, radix sort (LSD), radix sort (MSD), std::sort (intro sort), std::stable_sort (adaptive merge sort), shell sort, bubble sort, cocktail shaker sort, gnome sort, bitonic sort and bogo sort (30 seconds of it)."

      RecommendsView on HN
    2. @hot_grilJan 2023· in “Ask HN: What's your favorite illustration in Computer Science?”

      The classic sorting algo videos with sound come to mind first: this video . Mergesort is my favorite video. The main resource on learning Erlang, [LINK] , has a lot of funny ones, some of which are useful.

      RecommendsView on HN
    3. @jerfFeb 2020· in “Quadsort: a stable non-recursive merge sort”

      You may enjoy this: this video There are several similar videos on YouTube demonstrating sorts. If that's a bit sterile for you, you can get a more human touch via the playlist [LINK]

      RecommendsView on HN
    4. @Artemis2Apr 2014· in “Illustrated Sorting Algorithms”

      Fascinating! Another sorting visualization that I like is this one: this video . It is well-known but the way everything falls back into place at each time... that's very satisfying.

      RecommendsView on HN
    5. @kthejoker2May 2020· in “Resources to Learn Python in 2020”

      For true beginners to programming (e.g. my elementary age kids), I found these resources to be really effective at what I think of as the most important lessons in programming: * it's okay to try things * you can't break it * programming is very literal and precise * there's syntax, there's structure, and there are operations [LINK] This one is the best, it is aimed square at anyone whose only experience with computers is typing and web browsing. [LINK] Also great for the leveling down, but you also have to teach some math and some concepts around functions and algorthms, which can definitely feel a little boring / pigeonhole programming as mostly a fancy calculator. Use sparingly and wisely. [LINK] This is just one example, but the code snippets at Python for Beginners are well documented, designed with simple constructs, and are a great way to see "applied programming" / provlem solving to achieve an outcome. One useful technique is to give your student the "problem" the code snippet solves and ask your students to describe how they would code it in words and you transcribe it as some pseudocode on a board, and then "debug" it together to address input validation, logic, efficiency, then they write it.in Python, and then compare your code to the actual snippet. When their code is basically spot on with the snippet it's like they've won the lottery, I definitely had forgotten that magic ... I should make a YouTube playlist of thr videos I've shown them, here's one they liked

      CitesView on HN