The time required to search an element in a linked list of length n is
A. | O(log2 n) |
B. | O(n) |
C. | O(1) |
D. | 0 (n2) |
Answer : B Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |