Lectures 22-23: Fruitful Recursion

Slides

Readings

Think Python, Chapter 5.8-5.10: Recursion

Code

Click on the lec_fruitful_recursion.zip link to download the .zip file to your computer. The unzipped folder contains the notebook for lecture activities.

Videos

The videos for this lecture are divided in four parts. You can use the links below to watch the videos on YouTube or download them as .mp4 files. There's also a YouTube Playlist with all of the lecture videos on it. For the captions links below, you may have to right-click and "save-as;" if you put the .sbv file in the same directory as the .mp4 video file most video players should be able to load the captions automatically.

Fruitful Recursion Lectures:

Solutions

Solutions for the notebook (HTML File)

Solution notebook as a zip file

Additional Practice

If you are looking for more examples or work on recursion, there is an additional notebook called lec_morerecursion. There are also slides for those problems as well found here

Solutions for the notebook (HTML File)

Solution notebook as a zip file