Xceptor interview question

Code algorithm for Fibonacci sequence

Interview Answer

Anonymous

9 Jun 2025

I used recursive method, but discussed the benefits of using a for loop when you know the restrictions for performance considerations.