Home / Topics / Mathematics & Theoretical CS

Algorithms & data structures: videos Hacker News recommends

Algorithms and data structures: sorting, graphs, hash tables, trees, dynamic programming, competitive programming, MIT 6.006, algorithm analysis, Big-O, clever algorithms. Below: every video in this topic that at least three HN users linked with real commentary, in at least three different months (29 talks, 13 explainers, 9 demos), best-scored first, with the comments on each video page.

60 videos. Part of Mathematics & Theoretical CS.

  1. CppCon talk recommended in 10 different months by 9 HN users, 2018–2026
    HN repeatedly cites it as the definitive explanation of SwissTable, the design behind Abseil, Rust's hash map and Go's maps.
  2. Reducible explainer recommended in 8 different months by 7 HN users, 2021–2026
    HN repeatedly calls it a fantastic explanation that made FFT click, with some rewatching it periodically.
  3. SF Python talk recommended in 9 different months by 9 HN users, 2016–2025
    HN treats it as the definitive, engaging talk on hash table internals and Python dict ordering, and recommends it in tech-talk lists.
  4. CppCon talk recommended in 7 different months by 7 HN users, 2014–2024
    A perennial recommendation for anyone learning performance optimization, cited whenever hash tables, cache behavior or STL containers come up.
  5. CppCon talk recommended in 7 different months by 5 HN users, 2017–2025
    HN people point to it for rrb-trees, text editor data structures and bringing Clojure-style persistent structures to C++.
  6. CppCon talk recommended in 6 different months by 7 HN users, 2019–2024
    HN recommends it as an entertaining talk that starts simple and goes deep on practical performance optimization.
  7. CGP Grey explainer recommended in 6 different months by 9 HN users, 2020–2023
    It is the default link in any thread about boarding or deplaning order, praised as an excellent, clear treatment.
  8. suckerpinch explainer recommended in 6 different months by 8 HN users, 2019–2026
    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.
  9. Dave Ackley demo recommended in 6 different months by 3 HN users, 2015–2023
    HN readers recommend it as the best introduction to robust-first computing, where randomness and fault tolerance are built into the architecture.
  10. Stanford Online lecture recommended in 5 different months by 1 HN user, 2017–2023
    HN fans love it for Knuth's humor and for how he makes open math problems feel approachable, and it is often cited for details like dancing links and counting rectangle subdivisions.
  11. Dyalog demo recommended in 4 different months by 4 HN users, 2015–2022
    Strongly recommended as a beautiful demonstration that APL can be read and reasoned about step by step.
  12. GoogleTalksArchive talk recommended in 5 different months by 4 HN users, 2013–2024
    HN regards it as one of the best technical talks, a deep and clear walkthrough of scalable lock-free hash tables built on compare-and-swap.
  13. Defunctland documentary recommended in 4 different months by 7 HN users, 2021–2024
    HN recommends it as an accessible, engrossing lesson in queueing theory and systems design, even for people with no interest in Disney.
  14. Meta Developers talk recommended in 5 different months by 5 HN users, 2015–2022
    HN points to it as a clear explanation of immutable data structures such as tries, and of the case for immutability with React and Flux.
  15. InfoQ talk recommended in 3 different months by 3 HN users, 2018–2020
    Strongly recommended as a clear, accessible survey of the CRDT landscape.
  16. dotconferences talk recommended in 4 different months by 3 HN users, 2020–2023
    Recommended as an approachable introduction to CRDTs and the local-first idea behind apps like Actual.
  17. Dyalog tutorial recommended in 3 different months by 2 HN users, 2019–2021
    HN commenters call it a beautiful, brilliant demonstration of APL's expressiveness and a model of clear narration.
  18. Google TechTalks talk recommended in 4 different months by 4 HN users, 2017–2023
    HN points to it as a clear lesson that algebraic properties like associativity unlock parallelism, applicable in any language.
  19. JSConf talk recommended in 4 different months by 4 HN users, 2014–2018
    HN links it whenever menu hover problems or nearest-to-pointer selection come up, and as proof algorithms matter in front-end work.
  20. MIT OpenCourseWare lecture recommended in 4 different months by 4 HN users, 2016–2021
    Recommended as a clear introduction to dynamic programming from a well-regarded instructor.
  21. Life at Google demo recommended in 3 different months by 2 HN users, 2017–2020
    Cited as a realistic, well-run example of a technical interview, both for candidates preparing and interviewers calibrating.
  22. Anders Brownworth tutorial recommended in 3 different months by 3 HN users, 2017–2025
    HN repeatedly recommends it as the best ground-up, non-hype introduction for people who want to understand what a blockchain actually is.
  23. Timo Bingmann demo recommended in 4 different months by 4 HN users, 2014–2023
    A classic that HN points to for seeing how sorting algorithms behave, valued for how satisfying it is to watch and hear.
  24. Veritasium explainer recommended in 3 different months by 5 HN users, 2022–2024
    HN points people to it as the explanation that finally made Fourier transforms and the FFT click, with a good historical story.
  25. CppCon talk recommended in 3 different months by 3 HN users, 2016–2021
    Commenters say it changes how you think about types and the STL, and makes a case for simple modern C++.
  26. Redis talk recommended in 3 different months by 3 HN users, 2018–2023
    Recommended in graph database threads as a mind-blowing case for expressing graph analysis as linear algebra.
  27. Martin Donald explainer recommended in 3 different months by 3 HN users, 2021–2022
    Commenters recommend it as the clearest way to understand WFC, especially in threads about Townscaper and tiled content generation.
  28. CppCon talk recommended in 3 different months by 3 HN users, 2020–2022
    HN calls it a surprisingly fun, approachable talk on a hard problem and cites it in floating-point threads.
  29. Polylog explainer recommended in 3 different months by 4 HN users, 2024–2026
    Recommended as an intuitive, animated explanation of P vs NP framed around reversing computation.
  30. LuceneSolrRevolution talk recommended in 3 different months by 3 HN users, 2019–2020
    HN recommends it as an instructive, easy-to-follow look at Lucene internals from a core committer.
  31. Nemean explainer recommended in 3 different months by 3 HN users, 2021–2022
    HN recommends it as an approachable explanation that makes the famous algorithm finally make sense.
  32. Martin Kleppmann talk recommended in 3 different months by 3 HN users, 2020–2024
    Recommended as an excellent first education on CRDTs and their limits.
  33. MIT OpenCourseWare lecture recommended in 3 different months by 3 HN users, 2018–2022
    HN recommends it as a clear, high-quality introduction to succinct data structures from a leading authority.
  34. Robin Baumgarten demo recommended in 3 different months by 3 HN users, 2009–2012
    HN points to it as a vivid demo that plain A* search can beat fancier machine-learning approaches in game AI.
  35. PapersWeLove talk recommended in 3 different months by 3 HN users, 2019–2024
    Recommended in cache-algorithm threads as a fun, informative walk through caching strategies and ARC.
  36. AlphaPhoenix explainer recommended in 2 different months by 2 HN users, 2023–2025
    HN recommends it as an entertaining demonstration of how powerful algorithmic gerrymandering can be.
  37. Google TechTalks talk recommended in 3 different months by 3 HN users, 2012–2020
    HN points to it as a simple diff-and-patch alternative to operational transforms and CRDTs for collaborative editing.
  38. 2swap explainer recommended in 3 different months by 3 HN users, 2025–2026
    HN people point to it for intuition about why some games are hard to navigate and for its Rush Hour and graph visualizations.
  39. Dyalog User Meetings talk recommended in 3 different months by 3 HN users, 2019–2021
    HN recommends it as a striking example of high-performance tree handling with array programming.
  40. InfoQ talk recommended in 3 different months by 3 HN users, 2020–2026
    HN points to it as the best explanation of simdjson internals and of why fast parsing is rarely disk-bound.
  41. AlgoRythmics demo recommended in 2 different months by 2 HN users, 2013–2021
    HN recommends it as a memorable and fun way to visualize how sorting algorithms work.
  42. Lex Fridman podcast episode recommended in 2 different months by 2 HN users, 2020–2023
    Cited as an excellent look at Knuth's thinking and working style, and as a likely source for quotes about his habits.
  43. CppCon talk recommended in 2 different months by 1 HN user, 2021–2026
    HN points to it as the authoritative talk on Swiss tables, their design rationale, and real-world effects like Hyrum's law.
  44. CppNow talk recommended in 2 different months by 2 HN users, 2021–2024
    Recommended as a thorough, well-regarded explanation of hash table design tradeoffs and why the standard container is a poor choice.
  45. Tom Scott plus demo recommended in 2 different months by 2 HN users, 2022–2026
    HN people link it in discussions of taxi drivers' spatial memory and how cabbies handle roadworks and traffic.
  46. Google TechTalks talk recommended in 2 different months by 2 HN users, 2010–2023
    HN commenters point to it as programming inspiration and as a source of Bentley's anecdotes about adding function by deleting code.
  47. Microsoft Research talk recommended in 2 different months by 2 HN users, 2016–2023
    HN points to it as a solid, if long, introduction to B-epsilon trees and why BetrFS is built the way it is.
  48. Numberphile explainer recommended in 2 different months by 2 HN users, 2018–2022
    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.
  49. 3Blue1Brown explainer recommended in 2 different months by 2 HN users, 2022–2024
    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.
  50. ACCU Conference talk recommended in 1 different month by 1 HN user, 2016–2021
    HN recommends it as a careful, entertaining talk on low-level optimization that shows how textbook algorithms can be sped up.
  51. Edward Kmett talk recommended in 1 different month by 1 HN user, 2017–2025
    Commenters credit it as the place they first learned about succinct data structures, and found it left a lasting impression.
  52. switchbg music video recommended in 1 different month by 1 HN user, 2021–2026
    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.
  53. Uber Engineering talk recommended in 1 different month by 1 HN user, 2018–2025
    HN points to it as the detailed explanation of why hexagons suit map grids, in threads about H3.
  54. Stand-up Maths explainer recommended in 1 different month by 1 HN user, 2022–2023
    Cited as a fun example of how algorithmic changes can yield enormous performance gains.
  55. fragglet demo recommended in 1 different month by 1 HN user, 2019–2023
    HN fondly recalls it as the ideal visual demonstration of sorting algorithms and as the thing that got some people into programming.
  56. CppCon talk recommended in 1 different month by 1 HN user, 2016–2021
    Cited as the source for criticism of std::deque and move-constructor pitfalls, and as motivation to write custom data structures.
  57. pkrumins talk cited on HN 6 times, 2017–2023
    Used as the go-to citation in LeetCode and hiring debates that competitive programming skill is not a good signal for hiring.
  58. Zelexi demo cited on HN 4 times, 2010–2011
    Cited in discussions of voxel rendering, id Software's research and Euclideon-style claims as an early demonstration of the technique.
  59. weedipikia comedy video cited on HN 3 times, 2013–2019
    Used as a joke or aside about bubble sort and as evidence that Obama was tech savvy, not as something recommended for its content.
  60. CGP Grey explainer cited on HN 3 times, 2012–2017
    Cited as the standard example of algorithmic redistricting when gerrymandering and electoral reform come up.

Questions

What is the most recommended algorithms & data structures video on Hacker News?

CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step” by CppCon: HN repeatedly cites it as the definitive explanation of SwissTable, the design behind Abseil, Rust's hash map and Go's maps.

How is this algorithms & data structures list ranked?

By HackerTube's score: the number of distinct months in which an HN comment recommended the video, plus half a point for every month with a strong recommendation. One viral thread counts less than steady recommendations over years.

Where do the videos come from?

From every Hacker News comment between 2007 and 2026 that linked a YouTube video, labeled by an AI model as a recommendation, a citation, a joke or a criticism. The list is published by HackerTube under ODC-By 1.0; this edition adds indexable pages and the comment context.

Keyboard shortcuts

/
Search
j k
Next / previous video in a list
Enter
Open the focused video
l
Like (on a video page)
w
Watch later (on a video page)
?
This help
Esc
Close