Accenture Interview Question

Fibonacci series java code, Working with array.