SICP recursive process vs iterative process: using a recursive procedure to generate an iterative process
A recursive process needs to maintain the state of the caller while the recursive call is in progress. For instance, if you wrote: (define (fact-recurse n) (if (< n 2) 1 (* n (fact-recurse (- n 1))))) the outer call has to remember n and wait for the inner call to return before it can … Read more