CBSE Class 12 Computer Science Question 31 of 68

Data Structures - I : Linear Lists — Question 3

Back to all questions
3
Question

Question 3

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

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