how to find big o notation of a function code example
Example: big o theory
def item_in_list(to_check, the_list):
for item in the_list:
if to_check == item:
return True
return False
def item_in_list(to_check, the_list):
for item in the_list:
if to_check == item:
return True
return False