Skip to content

Eghatch/recursion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

recursion

Recursion. Recursion is. Recursion is hard.

Vocab

A 'base case': a case in which the problem is trivially solved that is reached when a certain condition is satisfied.

A 'general case': all the other cases expressed as the solution of one or more smaller versions of itself.

Code

def foo():
    if base_condition():
        return
    else:
        foo()
        return

Tutorials

http://forums.udacity.com/questions/100023989/python-101-unit-6-yet-another-attempt-to-explain-recursion

http://www.python-course.eu/python3_recursive_functions.php

Questions?

[email protected]

About

Recursion. Recursion is. Recursion is hard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors