IDT interview question

Write a function for Fibonacci with an iterative and recursive approach.