Topics › Mathematics & Theoretical CS

The best algorithms & data structures videos, according to Hacker News

58 videos about algorithms & data structures that Hacker News commenters keep pointing each other to, ranked by how many separate months they were recommended. Part of Mathematics & Theoretical CS.

30 Weird Chess Algorithms: Elo World

suckerpinch

964K views · 2019 · 8 HN recs

HN commenters call it a must-watch for its deadpan, absurdly elaborate engineering and cite it for ideas like diluting strong engines with random moves.

A Sudoku Solver in APL

Dyalog

47K views · 2012 · 4 HN recs

Strongly recommended as a beautiful demonstration that APL can be read and reasoned about step by step.

Depth-first search in APL

Dyalog

10K views · 2014 · 2 HN recs

HN commenters call it a beautiful, brilliant demonstration of APL's expressiveness and a model of clear narration.

Blockchain 101 - A Visual Demo

Anders Brownworth

3.3M views · 2016 · 3 HN recs

HN repeatedly recommends it as the best ground-up, non-hype introduction for people who want to understand what a blockchain actually is.

15 Sorting Algorithms in 6 Minutes

Timo Bingmann

29.4M views · 2013 · 4 HN recs

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

The Most Underrated Algorithm

Veritasium

10.8M views · 2022 · 5 HN recs

HN points people to it as the explanation that finally made Fourier transforms and the FFT click, with a good historical story.

CRDTs: The Hard Parts

Martin Kleppmann

90K views · 2020 · 3 HN recs

Recommended as an excellent first education on CRDTs and their limits.

17. Succinct Structures I

MIT OpenCourseWare

16K views · 2013 · 3 HN recs

HN recommends it as a clear, high-quality introduction to succinct data structures from a leading authority.

Infinite Mario AI - Long Level

Robin Baumgarten

1.3M views · 2009 · 3 HN recs

HN points to it as a vivid demo that plain A* search can beat fancier machine-learning approaches in game AI.

Differential Synchronization

Google TechTalks

51K views · 2009 · 3 HN recs

HN points to it as a simple diff-and-patch alternative to operational transforms and CRDTs for collaborative editing.

I Solved Klotski

2swap

2.1M views · 2025 · 3 HN recs

HN people point to it for intuition about why some games are hard to navigate and for its Rush Hour and graph visualizations.

Three Beautiful Quicksorts

Google TechTalks

45K views · 2007 · 2 HN recs

HN commenters point to it as programming inspiration and as a source of Bentley's anecdotes about adding function by deleting code.

The Josephus Problem - Numberphile

Numberphile

7M views · 2016 · 2 HN recs

HN cites it as an excellent example of solving small cases to find a pattern, and as a favorite puzzle with an elegant binary solution.

Solving Wordle using information theory

3Blue1Brown

11.8M views · 2022 · 2 HN recs

HN recommends it as the go-to explanation of optimal Wordle openers like CRANE and a friendly introduction to information theory, also relevant to Mastermind.

Succinct Data Structures

Edward Kmett

9K views · 2013 · 1 HN recs

Commenters credit it as the place they first learned about succinct data structures, and found it left a lasting impression.

Find the Longest Path

switchbg

57K views · 2010 · 1 HN recs

HN shares it as a fun, memorable way to explain the longest path problem and as an entry in lists of programming and math songs.

SORTDEMO.BAS

fragglet

10K views · 2010 · 1 HN recs

HN fondly recalls it as the ideal visual demonstration of sorting algorithms and as the thing that got some people into programming.

Which of these have you already seen?

Connect YouTube and HackerTube AI hides what you've watched and ranks the rest for you.

Get Pro for $5