Write stack safe non-tailrec recursive functions

Write stack safe non-tailrec recursive functions

Recrusive function is cool, but it sometimes cause stack overflow in naive implementation. I'll explain how to write any recursive functions in stack safe way.

75086cfa4a46d4aa47deb38b409bd9cd?s=128

Jun Tomioka

June 29, 2019
Tweet