Advertisement Remove all ads

Explain Linear Data Structure and Non-linear Data Structure. - Computer Science 1

Explain Linear data Structure and Non-linear Data Structure.

Advertisement Remove all ads

Solution

Types:

1)  Linear data structure

2) Non-Linear data structure

In the linear data structure, data elements are stored in consecutive memory locations or by using linked representation e.g. arrays, the linked list.

In non-linear data structures, the linear order cannot be maintained between data elements. Generally, data elements have the hierarchical relationship between them. e.g. trees.

Computer language provides different data structures like arrays, stack, queue, tree etc

Concept: Basic Data Structures (Stack, Queue, Dequeue)
  Is there an error in this question or solution?
Advertisement Remove all ads

APPEARS IN

Advertisement Remove all ads
Advertisement Remove all ads
Share
Notifications

View all notifications


      Forgot password?
View in app×