[Solved] Indexing the ___ element in the list is not possible in linked list.

Indexing the ___ element in the list is not possible in linked list.

A. First

B. Middle

C. Last

D. All of the above

Answer: Middle

Indexing the middle element in the list is not possible in linked list because we have to travel from starting of the list to find the middle element. Therefore, to traverse the list and find the middle element we have to use two pointers for it.

Comments