Accenture interview question

inverse Fibonacci series coding round