Ask HN: Best books on understanding recursion?
I have a basic understanding of python, but would like to understand really intuitively how recursion works. are there any good introductory books that teach about recursion?
(
10 comments
| 6 points
| on HN
)
https://news.ycombinator.com/item?id=11934434
I also found this book helpful, when I was starting out with experience with imperative languages and thinking iteratively:
https://www.amazon.com/Thinking-Recursively-Java-Eric-Robert...
https://mitpress.mit.edu/books/little-schemer
It is the most lucid explanation of recursion using the story-telling format.
After working through this chapter, I have never failed to write/understand programs using recursion.
[1] https://www.cs.cmu.edu/~dst/LispBook/
Recursion is a very simple concept and really doubt you will find a whole book dedicated to it.
Checkout Computer Systems: A programmers approach
It explains what is happening in memory when you call a function.
I haven't read any books about recursion itself however, only books that teach recursion amongst other topics.