What are the steps I need to take to work out the time complexity of this function in terms of N? Or any function?
I'm essentially asking how to evaluate algorithm complexity in Big O notation?
int f(int N) {
if (N<2) return 1;
return f(N-1)+f(N-2);
}