Skip to content

Riffing on Gustavo Duarte's arguments and examples about using tree traversal rather than factorial for motivating and visualizing recursion

Notifications You must be signed in to change notification settings

gumption/Motivating_and_Visualizing_Recursion_in_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Motivating and Visualizing Recursion in Python

A riff on Gustavo Duarte's blog post about using better motivated examples to visualize recursion.

This IPython Notebook uses the same example - traversing a maze (representing as a binary tree) - and contrasts it with the recursive and iterative versions of factorial. The main difference is that it is done here in Python, whereas the original version is in C.

About

Riffing on Gustavo Duarte's arguments and examples about using tree traversal rather than factorial for motivating and visualizing recursion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published