MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Example of linear data structure except
A
array
B
tree
C
queue
D
stack
Explanation: 

Detailed explanation-1: -Stacks, Queues, Arrays, and Linked lists are all examples of linear data structures.

Detailed explanation-2: -Explanation: Tree and graphs are not linear.

Detailed explanation-3: -A tree data structure is non-linear because it does not store sequentially. It is a hierarchical structure as elements in a Tree are arranged in multiple levels. The topmost node in the Tree data structure is known as a root node. Each node contains some data, and data can be of any type.

Detailed explanation-4: -An array is a linear data structure that collects elements of the same data type and stores them in contiguous and adjacent memory locations.

There is 1 question to complete.