HackerTubewatch
Surprise me
Frame from Lecture 19: Dynamic Programming I: Fibonacci, Shortest Paths Plays via YouTube's privacy-enhanced embed

Lecture 19: Dynamic Programming I: Fibonacci, Shortest Paths

17 videos recommended on HN
YouTube
4 HN users recommended this lecture4 months2016–2021 score 4
Years with an HN recommendation, 2007–2026

Recommended as a clear introduction to dynamic programming from a well-regarded instructor.

Erik Demaine's MIT 6.006 lecture introducing dynamic programming through Fibonacci numbers and shortest paths. It covers memoization, subproblems and optimal substructure.

“Please watch this MIT intro” (HN, 2021)

4 recommendations · Lectures · intro

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@philippeback Aug 2016 Recommends
on HN thread The Imposter's Handbook
When you deal with large data sets (e.g. Hadoop/Spark...), BigO starts to hit badly. Dynamic Programming also requires you to have a clue about it. See [this video] for some cool explanations.
Cool explanations of dynamic programming
@gbacon Apr 2019 Recommends
on HN thread Graphical Introduction to Dynamic Programming
You may also like a couple of lectures by Erik Demaine: Dynamic Programming I: Fibonacci, Shortest Paths [this video] Dynamic Programming II: Text Justification, Blackjack [link]
Erik Demaine's MIT lecture on dynamic programming
@dehrmann Feb 2021 Recommends
on HN thread Algorithms by Jeff Erickson
I don't think I've ever been asked a DP problem in an interview, and only had to use it while programming once . That said, I liked the MIT lecture on it: [this video]
Liked MIT lecture on dynamic programming
@dominotw Apr 2021 Recommends
on HN thread Dynamic Programming vs. Divide-and-Conquer (2018)
Read more
> on interviews they want you to explicitly construct the array very often i.e. it's the different between hire and a strong hire exactly because @lru_cache is much easier are you serious? someone really asked you to "use array". Beyond stupid if they really did. > you can easily blow the stack for real production grade implementations using recursion recursive solution doesn't automatically mean using a the method stack. you can implement recursive solutions using explicit stack . > dynamic programming proper please. There is no "proper" dynamic programming. Please watch this MIT intro [this video] .
Intro to dynamic programming, correcting misconceptions

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close