HARMAN interview question

factorial and Fibonacci program they asked