Top

Discussion

Which of the following is an example for non linear data type?

  • A.Tree
  • B.Array
  • C.Linked list
  • D.Queue

Answer: A

A data structure is said to be linear if its elements form a sequence or a linear list. For example array, linked list, queue, stack etc. Elements in a non linear data structure do not form a sequence. For example Trees, graphs etc

No comment is present. Be the first to comment.
Loading…

Post your comment