Google News
logo
Data Structures - Quiz(MCQ)
What kind of linked list is best to answer questions like "What is the item at position n?"
A)
Singly linked list
B)
Doubly linked list
C)
Array implementation of linked list
D)
Circular linked list

Correct Answer :   Array implementation of linked list


Explanation : Arrays provide random access to elements by providing the index value within square brackets. In the linked list, we need to traverse through each element until we reach the nth position. Time taken to access an element represented in arrays is less than the singly, doubly and circular linked lists. Thus, array implementation is used to access the item at the position n.

Advertisement