Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 279 Bytes

refactor-linear-to-iterative-recursion.md

File metadata and controls

6 lines (4 loc) · 279 Bytes

Refactor linear recursion to iterative recursion

We should get into the habit of whenever we write a linear recursion solution that isn't efficient to think of how to use iterative recursion instead. A good examples are in SICP book for factorial and exponential functions.