Which of the following is not an example of linear data structure?a.Linked Listb.Graphc.Queued.Stack
Question
Which of the following is not an example of linear data structure?a.Linked Listb.Graphc.Queued.Stack
Solution
The answer is b. Graph.
A linear data structure is a structure wherein data elements are adjacent to each other. Examples of linear data structure include an array, linked list, stacks and queues. On the other hand, a graph is a non-linear data structure, which can be seen as a collection of vertices (or nodes) and edges that connect these vertices.
Similar Questions
Which of the following data structure is non linear type?a.Listb.Graphc.Stackd.Queue
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 of the following data structure is useful in traversing a given graph by breadth first search?a)Queueb)None of the mentionedc)Stackd)List
Select the correct answerWhat is a linked list?OptionsA linear data structure in which the elements are stored at contiguous memory locations.A non-linear data structure in which the elements are stored at contiguous memory locations.A non-linear data structure in which the elements are not stored at contiguous memory locations.A linear data structure in which the elements are not stored at contiguous memory locations.
The Data structure used in standard implementation of BFS is?a)Linked listb)Queuec)Stackd)Tree
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.