OpenText Interview Question

Fibonacci numbers with some modifications