Data Structure In Hindi – डाटा स्ट्रक्चर क्या है और इसके प्रकार

हेलो दोस्तों आज हम data  structure  के बारे में जानने वाले की Data Structure in Hindi क्या है और कैसे काम करता है और इसके प्रकार को भी हम आसान भाषा में समझेंगे |

Data Structure in Hindi – डाटा स्ट्रक्चर क्या है ?

Data structure  programming  के fundamental  building  blocks  होते है। ये define करते है कि data  को program  के अंदर किस तरीके से store , organizeऔर manipulate  किया जाता है। data  structure  को समझना बहुत जरुरी है जिससे हम efficient  और effective  algorithms को create  या बना सकते है। data  structure  का उपयोग data  को organize करने के लिए ही नहीं होता बल्कि data  को retrieve  करने और store  करने के  लिए भी इसका उपयोग किया जाता है हमे data  structure  का knowledge  होना बहुत जरूरी होता है क्युकी Basics  और advanced  data  structure  का इस्तेमाल software  और application  को develop  करने के लिए किया जाता है

(OR)  

data  structure  Computer  science  की एक branch  होती है। data  structure  को study  करने से हमे ये समझने में help  मिलती है कि data  को कैसे organize  किया जाता है और data  flow  को कैसे manage  किया जाता है, ताकि किसी भी process  कि efficiency  और quality  बढ़ जाए।

Computer  science  में data  structure  algorithm  का most  important part  होता है क्योकि यह programmers  को data  effectively  manage  करने कि facility  देता है। यह program  और software  की performance  improve  करने में crucial  role  play  करते है, क्योकि software  का main  bjective  होता है user  का data  जितनी जल्दी हो सके store  और retrieve  करना।

Types of Data Structure in Hindi – डाटा स्ट्रक्चर के प्रकार 

Data Structure in hindi

Data स्ट्रक्चर दो प्रकार के होते है –

  1. Primitive डाटा स्ट्रक्चर
  2. Non-Primitive डाटा Structure

Primitive data Structure in hindi :-

Primitive data structure वह data structure है जो कि predefined होता है। Primitive Data Structure को (built-in) data structure भी कहा जाता है। Primitive data structure Basic data structure होते है जो directly machine instruction के द्वारा operate किये जाते है। इनकी representation  हर computer  पे अलग – अलग हो सकती है। integer , floating-point numbers , character  constant , string  constant , और pointer  इस category  में आते है। ये primitive  data  types  अलग – अलग programming  language  के अलग – अलग हो सकते है।

Non-Primitive data structure in hindi :-

Non-Primitive data structure  वह data  structure है जो user-define होता है। मतलब इसे user  के द्वारा बनाया जाता है। यह data  structure  advanced  या sophisticated  data structure  होते है, जो primitive  data structure  से derived किये जाते है। Non-Primitive data  structure  का focus  होता है एक group of  homogeneous या heterogeneous data  items को structure  करने पर। Array , linked-list, tree , graph , stack  and  queue  और files  इस category  में आते है।

इसमें Sophisticated data structure  का मतलब होता है advanced  या complex  तरीके से design  किये गए data  structure  पर जो ज्यादा functionality  और flexibility provide  करते है, जब data को efficiency manage, access  और manipulate  करना होता तब इस data  structure का उपयोग किया जाता है।

 1. Linear Data Structure in Hindi –

Linear data structure में data items  को linear fashion में organize किया जाता है मतलब data  items  को एक बाद एक sequentially arrange किया जाता है linear में Array , Linked  list, Stack and Queue होते है।

Array :-

Array एक collection होता है similar type of  elements का। array  में एक time पर एक ही प्रकार के data को contain किया जाता है।

array को एक finite number of  homogeneous elements या data items का set के रूप में define किया जाता है। इसका मतलब ये होता है कि array  में सिर्फ एक ही type का डाटा store हो सकता है – या तो सारे integers होंगे, या सारे floating-point numbers , या फिर सारे characters। array  का  index  हमेशा जीरो (Zero) से start होता है array data items या elements को sequentially arrange करता है।

ऐरे के साथ कुछ कॉमन ऑपरेशन्स जो किये जाते है वो है –

  • Creating of an array
  • Traversing an array
  • Insertion of new array
  • Deletion of new elements
  • Modification of an elements
  • Merging of array.

Diagram of Array –

Data Srtucture in hindi

Queue :-

केओए एक non-primitive linear data structure है। queue  में first-in first out (FIFO) algorithm का उपयोग किया जाता है। जिसमे queue के एक सिरे (end) से आइटम्स इन्सर्ट होते है, जिसे rear कहा जाता है तथा queue के दूसरे सिरे (end) से items को delete किये जाते है, जिसे front कहा जाता है। Queue में जिस data element को सबसे पहले rear से insert किये जाता है फिर उस data element को process करने के बाद उसे ही delete किये जाता है।

Queue के साथ कुछ common operations जो किये जाते है वो है –

  • Insertion of an elements in a queue (Rear end)
  • Deletion of an element in a queue  (Front end)

Diagram of Queue –

Data Structure in Hindi Queue

Stack :-

Stack एक last-in-first-out (Lifo) Structure है stack को एक linear data structure  की तरह define किया जाता है, जिसमे प्रत्येक insertion तथा deletions stack के top से किया जाता है। stack में एक ही सिरा होता है वही से items को input किया जाता है और process करने के बाद उन्हें  वही से delete कर दिया जाता है।

Stack में दो operations perform किये जाते है –

  • Push – push operation से data items को insert किया जाता है।
  • Pop – pop operation से Data items जो delete किया जाता है।

इस डायग्राम में stack को तीन तरीके से दिखाया है –

stack diagram

Linked-list :-

एक list (linear लिंक्ड list) को ऐसे डिफाइन किया जा सकता है ये variable number of  data items का collection होती है। list का हर element कम से कम दो fields रखता है एक field data को स्टोर करने के लिए होती है और दूसरी field next element  का address store करती है।  list का ये second field  pointer  type  का होता है। हर ऐसे element को node कहा जाता है, इसलिए एक list को nodes का collection कहा जाता है।

Linked-list के साथ कुछ common operations जो किये जाते है वो है –

  • Creation
  • Insertion
  • Deletion
  • Traversing
  • Searching
  • Concatenation
  • Display

The Daigram of linked-list –

Linked list diagram

2. Non-Linear Data Structure in Hindi –

इस डाटा स्ट्रक्चर में इंसर्शन और देलेशन लीनियर तरीके से नहीं किया जा सकता, उसे non-linear डाटा स्ट्रक्चर कहते है। Non-linear डाटा स्ट्रक्चर में ये चीज़ें शामिल होती है।

Tree :-

Tree एक non-linear डाटा structure होता है। जिसमे items को एक sorted sequence  में arrange किये जाता है। इसका उपयोग Hirarchical relationship को represent करने के लिए किया जाता है जो कई data items के बीच होती है। ये एक finite set होता है जिसमे एक या एक से ज्यादा data items होते है, जिनका arrangement कुछ इस तरह होता है। 

  • एक special data items होता है जिसे रुट(Root) of the tree कहा जाता है।
  • और बाकि के डाटा आइटम्स को ऐसे subsets में divide किया जाता है जो एक दूसरे सेअलग होते है (mutually, exclusive), और हर subset खुद में एक tree होता है। इन्हे subtree कहा जाता है।

Tree के साथ कुछ common ऑपेरेटिन्स जो किये जाते है वो है –

  • Tree traversal
  • Insertion of nodes
  • Deletion of nodes
  • Searching for the node
  • copying the tree.

एक Basic Tree इस तरह दिखाई देता है –

Tree Diagram Data structure in hindi

 

Graph :-

Graph एक non-linear data structure है। Graph (G) एक ऐसा structure होता है जो दो sets से मिलकर बना है – एक (V), जो vertices का group होता है, और एक (E), जो edges के group से मिलकर बना होता है हम इसे (G) = (V, E) कहते है। यहाँ व(V) एक finite और non-empty set होता है vertices का, और (E) उन vertices के pairs का सेट होता है। इन pairs को ही edges कहा जाता है।

Tree के साथ कुछ common operations जो किये जाते है वो है –

  • Searching on a graph
  • Inserting in a graph
  • Deleting form a graph
  • Traversing a graph.

एक Basic Graph इस तरह दीखता है –

graph diagram graph in hindi

 

 

Explanation –

एक Basic graph को represent करता है जिसके लिए V(G) = {V1, V2, V3, V4, V5 } तथा E(G) = {e1, e2, e3,  e4, e5} है अर्थात इस graph में पांच (Vertices) और पांच (Edges) है।

तो दोस्तों इसी तरह के और नोट्स को पढ़ने के लिए HindiCoder Website को Visit करे।

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top