Sapiens Interview Question

Fibonacci series