Question 63Asked in DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)

Which of the following is a disadvantage of singly linked list?

  1. AAccessing an element in a singly linked list requires traversal from the head, making it slower than arrays.
  2. BDeletion operation at the beginning of the linked list is performed in O(1) time.
  3. CInsertion operation at the beginning of the linked list is performed in O (1) time.
  4. DLinked lists have a variable size.
Show answerHide answer

Correct answer: (A) Accessing an element in a singly linked list requires traversal from the head, making it slower than arrays.

Explanation

To reach the k-th element in a singly linked list you must traverse from the head, O(n), whereas arrays allow direct access by index. O(1) insertion and deletion at the start and variable size are advantages.

From DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 1 (9:00 AM)

This is question 63 of DSSSB TGT Computer Science PYQ (Technical), 12 Sep 2025, Shift 1 (9:00 AM). 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.