Computer Science, asked by neha9296, 1 year ago

What are the linear and non-linear data structure?

Answers

Answered by Rumi123456789
3
A data structure is classified into two categories: Linear and Non-Linear data structures. A data structure is said to be linear if the elements form a sequence, for example Array, Linked list, queue etc. Elements in a nonlinear data structure do not form a sequence, for example Tree, Hash tree, Binary tree, etc.
Similar questions