~/talk

Dynamic programming 101

Talkat phpDay 2018 · 2018-05-11..05-12· [testing]
slides:none on file

Shows concrete wins: naive Fibonacci repeats calls so memoization collapses exponential blowup and makes fib feasible; Dijkstra runs with O(n log n) behavior on weighted grids versus greedy or DFS that fail; traveling‑salesman drops from n! brute force to Bellman–Held‑Karp at about n^2·2^n so instances up to ~30 cities become tractable on a laptop; demos convert a grid maze to a graph, writes costs into cells, and measures the actual speedups.

AI-written summary · about

  1. 0:00Intro
  2. 1:01Open source
  3. 1:51You've got a problem
  4. 2:34Divide and Conquer
  5. 2:52Recursion
  6. 3:35Fibonacci
  7. 6:55Dynamic programming
  8. 7:50Graph theory
  9. 10:08Matrix maze
  10. 11:00Breadth first
  11. 11:34Depth first
  12. 12:23Greedy algorithm
  13. 13:50Dijkstra's algorithm
  14. 18:31Time complexity
  15. 22:37Traveling salesman
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.