Programming Throwdown

163: Recursion


Listen Later

Episode 163 - Recursion


Intro topic: Electric Cars


News/Links:

  • Snake Game in 101 Bytes in a QR Code
    • https://www.reddit.com/r/programming/comments/15ab4ct/my_qr_code_snake_game_is_now_only_101_bytes/
  • Superconductor Rumors abound
    • https://arstechnica.com/science/2023/08/whats-going-on-with-the-reports-of-a-room-temperature-superconductor/
  • OpenWorm
    • https://github.com/openworm/OpenWorm
  • Creator of vim passes away
    • https://news.itsfoss.com/vim-creator-passed-away/


Book of the Show

  • Patrick:
    • Little Book of Common Sense Investing by Jack Bogle https://amzn.to/43YqANR
  • Jason: 
    • Mistborn Saga: https://amzn.to/3DJkUN8

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


Tool of the Show

  • Jason:
    • reMarkable https://remarkable.com/
  • Patrick: 
    • Stellarium (iOS and Android)

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 ★
...more
View all episodesView all episodes
Download on the App Store

Programming ThrowdownBy Patrick Wheeler and Jason Gauci

  • 4.6
  • 4.6
  • 4.6
  • 4.6
  • 4.6

4.6

552 ratings


More shows like Programming Throwdown

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

380 Listeners

Software Engineering Radio by se-radio@computer.org

Software Engineering Radio

273 Listeners

.NET Rocks! by Carl Franklin and Richard Campbell

.NET Rocks!

244 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

288 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

267 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

584 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

626 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

284 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

982 Listeners

The freeCodeCamp Podcast by freeCodeCamp.org

The freeCodeCamp Podcast

486 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

188 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

62 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

140 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

59 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

62 Listeners