Global Payments Interview Question

there were practical coding like Fibonacci series