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 (लिंक्ड लिस्ट).

Comments

Post a Comment

Popular posts from this blog

Priority Queue

Data Structure and Algorithms (DSA) USING C/C++ Topics Covered