Global Payments interview question

there were practical coding like Fibonacci series