What would be the asymptotic time complexity to find an element in the linked list?

What would be the asymptotic time complexity to find an element in the linked list?
A. O(1)
B. O(n)
C. O(n$^{2}$)
D. O(n$^{4}$)
 

Tìm kiếm

Back
Top