~/talk

An Introduction to Recursion

Talkat PyOhio 2016 · 2016-07-30..07-31· [python]
links:none on file
slides:none on file

Begins with conceptual definitions then walks through writing recursive Python functions for factorial and sum from 1 to n using pseudo‑code translated into real code, compares each to iterative for‑loops, and implements the classic Fibonacci interview problem showing the naive recursive runtime is O(2^n) and the iterative version is roughly O(n). Explains base cases, stack overhead, and that memoization fixes exponential blowup; ends with a coding problem from a real interview at a financial company.

AI-written summary · about

  1. 0:00Introduction to recursion
  2. 1:47Conceptualizing recursion
  3. 8:04Implementing recursion in code
  4. 12:47Applying recursion to sums
  5. 17:02Recursion vs iteration
  6. 19:25Analyzing runtime complexity
  7. 24:27The Fibonacci challenge
  8. 29:54Interview analysis and Q&A
~/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.