Pregunta de entrevista de CAS Software

I had to implement some simple algorithms on a whiteboard both by using recursion and by not using it.