Bytestrone interview question

Write a program for arrays, fibonacci, odd or even etc