Reputation: 3
I know what linear and nonlinear data structures is ,but could someone explain me in 2-3 phrases what the differences is? It would like to have the differences about the two of them and not the definition what it is (like here): http://www.differencebetween.com/difference-between-linear-and-vs-nonlinear-data-structures/
Upvotes: 0
Views: 3962
Reputation: 23
in linear data structure , data is stored in the memory in sequential or linear manner and one element has at most one predecessor and at most one successor . it has single level.
if it is non linear data structure , data is stored in the memory in random order and it has multiple level.
Upvotes: 0
Reputation: 1
Linear data structure
Non-linear data structure
Upvotes: 0
Reputation: 704
explain me in 2-3 phrases what the differences is?
Linear means that they are represented by one (single) series of data ... i.e Each data member has at most one predecessor and at most one successor.
Non-linear means anything else.
Upvotes: 1