Thoughtworks Interview Question

write a program on Fibonacci series