CSC300 / CSC402: Stacks and Recursion [3/14] Previous pageContentsNext page

Stacks are useful for backtracking
...in particular when working with trees and graphs!

Functions use a Call Stack

Recursive functions are more general than loops

We can translate any loop into a recursive function

Previous pageContentsNext page