~/talk

Recursion and DP for coding interviews

Talkat Silicon Valley Code Camp 2017 · 2017-10-07..10-08· [career-development]
links:none on file
slides:none on file

Step‑by‑step proofs and runnable techniques: a recursive height-of-binary-tree solution that reduces to a single max+1 line and runs in O(n), a matrix max‑sum path shown as top‑down recursion that suffers repeated work unless each cell is memoized (cache keyed by row,col), and a bottom‑up DP filling the grid as an alternative. Demonstrates the repeated‑work pitfall when subproblems overlap, gives implementation size estimates like five lines for the recursive version, and stresses practice (tens to hundreds of problems) to internalize these patterns.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 10:47Why recursion is hard
  3. 27:13Recursion on binary trees
  4. 33:02Dynamic programming basics
  5. 44:07Caching and memoization
  6. 50:18Closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.