Oracle interview question

Fibonacci Series with some modification.