Programming Throwdown
Programming Throwdown
Patrick Wheeler and Jason Gauci
163: Recursion
1 hour 29 minutes Posted Aug 14, 2023 at 3:15 pm.
Patrick on Electric Cars vs Gas Cars
Do You Need A Hybrid Car?
What Percent of Cars Will Be Hybrid or Electric?
Code Golf: QR Codes Are the Worst
How to Get Your Board Game Made on Kickstarter
Superconductor Rumor Mill
Superconductors: Should They Be Banished?
Open Worm: A Computer Simulation of the Worm
Vim in the Elevator
Jack Bogle's The Little Book of Common Sense Investing
McKinsey: On Controlling Your Money
Peter Thiel on Starting a Billion-Dollar Company
Brandon Sanderson's Mistborn Saga
Notes on the Kindle: A More Human Touch
The Future of Astronomy Apps
The Scariest Topic in CS: Recursion
Fibonacci Sequence, Sequential Search
On Recursion and the Stack
Exploring Recursion in Computing
In some of these languages like C, is there like a memo
Computation with recursion and hashing
Fibonacci Sequences vs Fractals
Baseline Cases and memoization
Patreon Support
What a Programming Throwdown Is
0:00
1:29:07
Download MP3
Show notes

Episode 163 - Recursion


Intro topic: Electric Cars


News/Links:


Book of the Show

Patreon Plug https://www.patreon.com/programmingthrowdown?ty=h


Tool of the Show

Topic: Recursion

  • What is it
    • Divide-And-Conquer
    • Fibonacci numbers
  • How to (not) teach recursion
  • Practical Applications
    • Graph operations
      • Tree retrieval, balancing
      • Graph Search
    • Spatial partitioning
  • Pitfalls
    • Stack size
  • How to solve problems with recursion
    • (1) Consider the base cases
    • (2) Build the recursive step
    • (3) Look for ways the recursion will not terminate and fix
    • (4) (rest are optional) Remove global contexts
    • (5) Add memoization
    • (6) Build solutions incrementally

★ Support this podcast on Patreon ★