The Fibonacci numbers are defined by F0=0, F1=1, and Fn=Fn−1+Fn−2 for n≥2.
Implement a function to compute Fn. Give three solutions with different time complexities and identify each:
State the time complexity of each.