Vidyalelo
Data Structure · Q12

Linked Lists in Data Structures

Programming · Data Structure · question 12

Q12

What is the time complexity of searching for an element in a linked list?

A.
O(1)
B.
O(n)
Answer
C.
O(log n)
D.
O(n log n)

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board