Recursion Part I

Channel:
Subscribers:
2,640
Published on ● Video Link: https://www.youtube.com/watch?v=aLlYp1MarG4



Duration: 1:43:31
107 views
1


We started by reviewing the last graph theory quiz, and then moved on to recursion. There's three things you need to worry about when you look at recursive functions:
1) Does it have a base condition that will terminate the infinite loop?
2) Does it have an inductive step that will move it to the base condition?
3) Will it exceed the maximum recursion limit for your system?


Getting into the habit of thinking about these things is a really good exercise of mind.







Tags:
csci 26
recursion