Question 150

A major advantage of a linked list over an array is:

  1. ABetter cache performance
  2. BLess memory per element
  3. CDynamic size and easy insertion/deletion
  4. DRandom access by index
Show answerHide answer

Correct answer: (C) Dynamic size and easy insertion/deletion

Explanation

Arrays allow O(1) random access; linked lists do not.

From DSSSB TGT Computer Science Full Mock Test 4

This is question 150 of DSSSB TGT Computer Science Full Mock Test 4. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.