adplus-dvertising

Discussion Forum

Que. To represent hierarchical relationship between elements, Which data structure is suitable?
a. Dequeue
b. Priority
c. Tree
d. Graph
Answer:Tree
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 Here to Reply
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: