HackerTube.dev

Lecture 19: Dynamic Programming I: Fibonacci, Shortest Paths

MIT OpenCourseWare · 2.9M views · 2013-01-14 · 51:47

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

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

On Hacker News

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

Recommended by 4 HN people across 4 months · HN mentions 2016–2021

Topics

Search by tags

What people said

dominotw · 2021-04 · Recommendation

> 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 [VIDEO] .

Read the original HN comment ↗
dehrmann · 2021-02 · Recommendation

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: [VIDEO]

Read the original HN comment ↗
gbacon · 2019-04 · Recommendation

You may also like a couple of lectures by Erik Demaine: Dynamic Programming I: Fibonacci, Shortest Paths [VIDEO] Dynamic Programming II: Text Justification, Blackjack [LINK]

Read the original HN comment ↗

Sources

Video by MIT OpenCourseWare, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources