COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]

Which of the following data structure is non linear type?

Stack


Queue


Tree


Liked list

Explanation:
Detailed explanation1: Array, Queue, Stack, Linked List are linear data structures. Trees, graphs are nonlinear data structures.
Detailed explanation2: A tree is a nonlinear data structure, compared to arrays, linked lists, stacks and queues which are linear data structures.
Detailed explanation3: A binary tree is a treetype nonlinear data structure with a maximum of two children for each parent. Every node in a binary tree has a left and right reference along with the data element.
There is 1 question to complete.