Question discussion

Which of the following is a non-linear data structure?

2350Medium DSSSB TGT Computer Science 0 replies 1 views
0

Which of the following is a non-linear data structure?

  • ATree
  • BStack
  • CQueue
  • DLinked list
Correct answer: A

Explanation

In a tree an element can have more than one successor (its children), so the elements are not arranged in a single sequence; stacks, queues and linked lists are linear.

Discussion 0

Nobody has replied yet. Start the discussion!