Question discussion

Which of the following is INCORRECT about singly linked list data structure?

359075Medium DSSSB TGT Computer Science 0 replies 0 views
0
Which of the following is INCORRECT about singly linked list data structure?
  • AIt is a linear data structure.
  • BThe elements of the linked list are sequentially accessible.
  • CThe list's head node is the first node, while the last node pointer field points to NULL to denote the list's end.
  • DThe elements of the linked list are randomly accessible.
Correct answer: D

Explanation

Elements of a singly linked list can only be reached sequentially from the head, so it does not support random access. Option 4 is therefore incorrect.

Discussion 0

Nobody has replied yet. Start the discussion!