Cognizant Interview Question

Codeing in python (fib , arrays and strings)