Wednesday, 18 October 2017

Linear vs. Non-Linear data structures


LINEAR
Elements forms a sequence or a linear list.
E.g. : Arrays, Linked list, Stack, Queue

NON LINEAR
Traversal of nodes is non linear in nature.
E.g. : Tree, Graph

No comments:

Post a Comment

Note: only a member of this blog may post a comment.