SAP Interview Question

Write a function that computes the nth number in the fibonacci sequence given n

Interview Answer

Anonymous

Jan 8, 2021

I implemented a simple recursive function. Using dynamic programming would have been better.