I am trying to find the runtime complexity of this Python program. Will the complexity be still n or will it be more than n as I am creating a new list for each recursive call
def RecLinearSearch(lyst,number):
found = False
index = len(lyst)-1
if lyst[index] == number:
found = True
return found
elif index<len(lyst)-1:
index +=1
return RecLinearSearch(lyst[index:],number)
return found
print(RecLinearSearch([1,4,5,65,44],55))