Rahul Chhiber's Blog

Rahul Chhiber's Blog

Emulating the call stack in Java

May 23, 20215 min read

The setup I was recently thinking about the challenges in converting any given recursive algorithm into an iterative one. Famous problems like finding the n'th number in the Fibonacci series have recursive as well as non-recursive/iterative solutions...