Microsoft interview question

Fibonacci first with recursion and then with dynamic programming