Homogeneous and Non-homogeneous (heterogeneous) data structure होमोजिनस एवं नॉन-होमोजिनस या हेटेरोजिनस डाटा स्ट्रक्चर

Homogeneous data structure :- if a data structure stores similar types of data elements then this type of data structure is called homogeneous data structure.

यदि किसी डाटा स्ट्रक्चर द्वारा केवल एक ही प्रकार के डाटा एलेमेंट्स को संग्रहित किया जाता है तब इस प्रकार के डाटा स्ट्रक्चर को होमोजिनस डाटा स्ट्रक्चर कहा जाता है। 
Example :- array (अरे)

Non homogeneous (Heterogeneous) data structure :- if a data structure stores two or more types of data elements then this type of data structure is called non homogeneous or heterogeneous data structure.

यदि किसी डाटा स्ट्रक्चर द्वारा दो या दो से अधिक प्रकार के डाटा एलेमेंट्स को संग्रहित किया जाता है तब इस प्रकार के डाटा स्ट्रक्चर को नॉन होमोजिनस या हेटेरोजिनस डाटा स्ट्रक्चर कहा जाता है। 
Example - linked list (लिंक्ड लिस्ट).

1 comment:

Stack Data Structure, Push, Pop and Peek Operations , Applications of Stack

Stack is a linear data structure. It is collection of ordered data elements. It is also known as LIFO system (last in first out). It means i...