can someone tell me what is the complexity in the function and why please? Thanks
def func1(n):
if n==0:
return (1)
if n==1:
return (1)
if n==2:
return (2)
return (n*func1(n-3))
n=int(input())
func1(n)
I think the complexity is: "O(nlog n)"