Recursion

Solve this problem first.

What is the time complexity of the recursive function?

 1 2 3 4 def func(n): if n < 1: return n return 1 + func(func(n-1)) 

×

Problem Loading...

Note Loading...

Set Loading...