GATE / CS ARCHIVE

GATE CSE 1994 / QUESTION 1.17

Where linked lists are unsuitable

Data Structures · Arrays & Linked Lists · Full GATE CSE 1994 paper

GATE 1994, Q1.17 MCQ
Report issue

Arrays & Linked Lists

Question 1.17, GATE 1994: Among insertion sort, binary search, radix sort and polynomial manipulation, which is poorly supported by a plain linked list?
Tap to enlarge
Your answer
Answer & solution

Answer: B: binary search (no official key was published)

Binary search repeatedly accesses a midpoint by index. An array provides that access in constant time, but a plain linked list must traverse links to locate it, losing the logarithmic-access advantage. Linked lists can support insertion-sort splicing, bucket chains in radix sorting and sparse polynomial terms naturally. The issue is not that binary-search comparisons are impossible on a list, but that the necessary positional access is inefficient without additional indexing structures.

Original paper, page 2