Which of the following is not an example of linear data structure?a.Queueb.Stackc.Linked Listd.Graph
Question
Which of the following is not an example of linear data structure?a.Queueb.Stackc.Linked Listd.Graph
Solution
The answer is d. Graph.
A linear data structure is a structure wherein data elements are adjacent to each other. Examples of linear data structure include an array, stack, queue and linked list.
On the other hand, a graph is a non-linear data structure that consists of nodes and edges. The edges may be directed or undirected. In a graph, two nodes are
Similar Questions
Which of the following data structure is non linear type?a.Listb.Graphc.Stackd.Queue
Which of the following data structure is useful in traversing a given graph by breadth first search?a)Queueb)None of the mentionedc)Stackd)List
Which of the following data structure is not linear data structure?Select one:a.Arraysb.Linked listc.Both of aboved.None of aboveClear my choice
Which data structure is used in breadth first search of a graph to hold nodes?a.Arrayb.Queuec.Treed.Stack
Which one of the following is an application of Queue Data Structure?
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.