CGI Interview Question

Fibonacci series and find a substring in array