MongoDB Interview Question

Implement code to find the nth Fibonacci number