Computer Science

What do you understand by linear and non-linear data structures ?

Linear Lists

2 Likes

Answer

Linear data structures — A data structure is said to be linear if its elements form a sequence. These data structures are single level data structures. For example: Stack, Queue, Linked List.

Non-linear data structures — These data structures are multilevel data structures having a hierarchical relationship among its elements called nodes. For example: Tree

Answered By

1 Like


Related Questions