Which of the following is a type of non-linear data structure? a) Queue
b) Stack
c) Graph
d) Array
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The correct answer is c) Graph.
A graph is a type of non-linear data structure because it consists of a set of vertices (or nodes) connected by edges, which allows for the representation of relationships between various elements in a more complex manner than linear data structures like queues, stacks, and arrays that organize data in a sequential order. Graphs can have various configurations and can represent relationships in a way that is not strictly hierarchical or sequential.