HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Lecture 19: Dynamic Programming I: Fibonacci, Shortest Paths

MIT OpenCourseWare4 HN recommenders · recommended in 4 months, 2016-2021
YouTube
2.9M views · 13 years ago · lecture · evergreen

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

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

Algorithms & data structuresUniversity lectures & courses#algorithms#memoization#shortestpaths#mitocw#erikdemaine

4 comments from Hacker News

@dominotw2021 · in “Dynamic Programming vs. Divide-and-Conquer (2018)”

> 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 .

RecommendsView on HN
@dehrmann2021 · in “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

RecommendsView on HN
@gbacon2019 · in “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

RecommendsView on HN
@philippeback2016 · in “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.

RecommendsView on HN
17. Succinct Structures I1:20:11

17. Succinct Structures I

MIT OpenCourseWare
17K views • 12 years ago
Lecture 1A: Overview and Introduction to Lisp1:12:56

Lecture 1A: Overview and Introduction to Lisp

MIT OpenCourseWare
420K views • 7 years ago
Lecture 1A | MIT 6.001 Structure and Interpretation, 19861:12:56

Lecture 1A | MIT 6.001 Structure and Interpretation, 1986

MIT OpenCourseWare
995K views • 17 years ago
Lecture 1B | MIT 6.001 Structure and Interpretation, 198658:22

Lecture 1B | MIT 6.001 Structure and Interpretation, 1986

MIT OpenCourseWare
116K views • 17 years ago
1. Introduction, Finite Automata, Regular Expressions1:00:34

1. Introduction, Finite Automata, Regular Expressions

MIT OpenCourseWare
626K views • 5 years ago
Lecture 1 | Programming Methodology (Stanford)49:47

Lecture 1 | Programming Methodology (Stanford)

Stanford
2.6M views • 18 years ago
Lec 1 | MIT 18.06 Linear Algebra, Spring 200539:49

Lec 1 | MIT 18.06 Linear Algebra, Spring 2005

MIT OpenCourseWare
4.9M views • 17 years ago
Lecture 1 | Programming Paradigms (Stanford)17:26

Lecture 1 | Programming Paradigms (Stanford)

Stanford
1.2M views • 18 years ago
Lec 1 | MIT 6.00 Introduction to Computer Science and Programming, Fall 200853:30

Lec 1 | MIT 6.00 Introduction to Computer Science and Programming, Fall 2008

MIT OpenCourseWare
6.6M views • 17 years ago
Lecture 7A: Metacircular Evaluator, Part 11:24:38

Lecture 7A: Metacircular Evaluator, Part 1

MIT OpenCourseWare
32K views • 7 years ago
Lecture 1: Introduction1:19:35

Lecture 1: Introduction

MIT 6.824: Distributed Systems
921K views • 6 years ago
P vs. NP and the Computational Complexity Zoo10:44

P vs. NP and the Computational Complexity Zoo

hackerdashery
3.7M views • 12 years ago
"Datafun: a functional query language" by Michael Arntzenius42:31

"Datafun: a functional query language" by Michael Arntzenius

Strange Loop Conference
9K views • 9 years ago
Lecture 1 | Machine Learning (Stanford)1:08:40

Lecture 1 | Machine Learning (Stanford)

Stanford
2.7M views • 18 years ago
Stanford Lecture: Don Knuth—"A Conjecture That Had To Be True" (2017)1:07:02

Stanford Lecture: Don Knuth—"A Conjecture That Had To Be True" (2017)

Stanford Online
30K views • 8 years ago
Lecture 01 - The Learning Problem1:21:28

Lecture 01 - The Learning Problem

caltech
1.5M views • 14 years ago
Lec 1 | MIT 6.042J Mathematics for Computer Science, Fall 201044:09

Lec 1 | MIT 6.042J Mathematics for Computer Science, Fall 2010

MIT OpenCourseWare
2.8M views • 13 years ago
Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich53:22

Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich

Confreaks
65K views • 13 years ago
Category Theory 1.1: Motivation and Philosophy46:46

Category Theory 1.1: Motivation and Philosophy

Bartosz Milewski
394K views • 10 years ago
Stanford Seminar - Concatenative Programming: From Ivory to Metal1:04:45

Stanford Seminar - Concatenative Programming: From Ivory to Metal

Stanford Online
14K views • 8 years ago