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 explanation-1: -Array, Queue, Stack, Linked List are linear data structures. Trees, graphs are non-linear data structures.
Detailed explanation-2: -A tree is a nonlinear data structure, compared to arrays, linked lists, stacks and queues which are linear data structures.
Detailed explanation-3: -A binary tree is a tree-type non-linear 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.