Terse Software interview question

Basic program like fibonacci series, array function, string functions..