adplus-dvertising
frame-decoration

Question

The time required to search an element in a linked list of length n is

a.

O(1)

b.

O(n)

c.

0 (n2)

d.

O(log2 n)

Answer: (b).O(n)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The time required to search an element in a linked list of length n is