A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. To represent hierarchical relationship between elements, Which data structure is suitable?
a. Dequeue
b. Priority
c. Tree
d. Graph
Kutty ma :(November 08, 2020) To represent hierarchical relationship between elements, which data structure is not suitable. Ans please
I think these will answer your question ^_^ these below ds is not suitable
Linear Data Structure [i.e Arrays Queues Stacks Linked lists]
Non Linear Data Structure [i.e Graph]

Graph: In this case, data sometimes hold a relationship between the pairs of elements, which is not necessarily following the hierarchical structure. Such a data structure is termed as a Graph.
Click to Add Comment

Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here