हिंदी

Name the two types of data structures and give one point of difference between them.

Advertisements
Advertisements

प्रश्न

Name the two types of data structures and give one point of difference between them.

अंतर स्पष्ट करें
Advertisements

उत्तर

The two types are Linear and Non-linear data structures.

Basis of Difference Linear Data Structure Non-linear Data Structure
Arrangement Elements are arranged in a sequential order. Elements are not arranged sequentially.
Relationship Each element is generally connected to its previous and next element. An element may be connected to multiple elements.
Structure Has a single-level arrangement. Has a multilevel or hierarchical arrangement.
Examples Array, list, stack, queue, linked list Tree, graph
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: Liner List Manipulation - EXERCISE [पृष्ठ १०४]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
अध्याय 5 Liner List Manipulation
EXERCISE | Q 2. | पृष्ठ १०४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×