PayPay Interview Question

Fibonacci series