Answer:
O(n), if the element is the last one in the list, it would be n
Step-by-step explanation:
linear mesns jt grows with the list which gives it O(n) compmexity... if the item is the first element =1 , last = n
9.4m questions
12.2m answers