Advertisements
Advertisements
प्रश्न
Explain Linear data Structure and Non-linear Data Structure.
उत्तर
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
shaalaa.com
Basic Data Structures (Stack, Queue, Dequeue)
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?