Pregunta de entrevista de Oracle

Recursion question as well as some OS question