Question discussion

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

359267Medium DSSSB TGT Computer Science 0 replies 0 views
0
Which of the following is a disadvantage of singly linked list?
  • AAccessing an element in a singly linked list requires traversal from the head, making it slower than arrays.
  • BDeletion operation at the beginning of the linked list is performed in O(1) time.
  • CInsertion operation at the beginning of the linked list is performed in O (1) time.
  • DLinked lists have a variable size.
Correct answer: A

Explanation

A singly linked list has no direct access, so an element can only be reached by traversal from the head, making access slower than in an array.

Discussion 0

Nobody has replied yet. Start the discussion!