Explain what is graph in Hindi

What is graph in data structure in hindi

Graph เคเค• non-primitive, Non-Linear Data structure เคนोเคคा เคนै।

Graph เคเค• vertex(node) เค•ा เคธเคฎूเคน เคนोเคคा เคนै। เคเค• vertex เคฆूเคธเคฐे vertex เค•े เคธाเคฅ Connected เคฐเคนเคคा เคนै เค”เคฐ เคฆो vertex เค•े เคฎเคง्เคฏ connection เค•ो เคนเคฎ edge เค•เคนเคคे เคนै। Edge เคฆो nodes เค•े เคฎเคง्เคฏ เคเค• Communication Link เค•ी เคคเคฐเคน work เค•เคฐเคคा เคนै।



Graph (V,E) เค•ा Group เคนोเคคा เคนै เคœเคนाँ V, vertex เค•ा Group เคนोเคคा เคนै เค”เคฐ E, Edge เค•ा Group เคนोเคคा เคนै।

เคเค• graph เค•ो vertices (Nodes) เค”เคฐ edges เค•े เคธเคฎूเคน เค•े เคฐूเคช เคฎें Define เค•िเคฏा เคœा เคธเค•เคคा เคนै เคœो เค‡เคจ vertices เค•ो connect เค•เคฐเคจे เค•े เคฒिเค Use เค•िเคฏा เคœाเคคा เคนै।

เคเค• graph เค•ो cyclic tree เค•े Form เคฎें เคฆेเค–ा เคœा เคธเค•เคคा เคนै, เคœเคนां vertices(Nodes) parent child Relation เคฐเค–เคจे เค•े เคฌเคœाเคฏ เค‰เคจเค•े เคฌीเคš เค•िเคธी เคญी complex Relation เค•ो เคฌเคจाเค เคฐเค–เคคे เคนैं।


types of graph in data structure in hindi

Data Structure เคฎें graph เค•े เคช्เคฐเค•ाเคฐ เคจिเคฎ्เคจเคฒिเค–िเคค เคนोเคคे เคนै

  • Directed graph
  • Undirected graph
  • Weighted graph and non-weighted graph

Directed graph

เคœिเคธ Graph เคฎें edges เค•ी เค•ोเคˆ direction เคนोเคคी เคนै, directed Graph เค•เคนเคฒाเคคा เคนै। เค”เคฐ เค‡เคธ เคช्เคฐเค•ाเคฐ เค•े edges เค•ो directed edges เค•เคนเคคे เคนै। Directed edges เค•ो acres เคญी เค•เคนเคคे เคนै।

Graph เคฎें edges เค•ो เคเค• line เค•े through เคฆเคฐ्เคถाเคฏा เคœाเคคा เคนै เค”เคฐ เคฏเคฆि each line เคฎें arrow เค•ा symbol เคฌเคจा เคนुเค† เคนोเคคा เคนै เคคो เคตเคน directed Graph เค•เคนเคฒाเคคा เคนै , Directed graph เค•ो diagraph เคญी เค•เคนा เคœाเคคा เคนै।

Undirected graph

เคตเคน Graph เคœिเคธเคฎें edges เค•ी Direction เคจเคนी เคนोเคคी เคนै เค…เคฐ्เคฅाเคค เค‡เคธเคฎें arrow เค•ा Symbol เคจเคนी เคฌเคจा เคนुเค† เคนोเคคा เคนै। Undirected graph เค•เคนเคฒाเคคा เคนै।

Weighted graph and non-weighted graph

เค•เคญी-เค•เคญी graphs เคฎें edges เคนोเคคे เคนै เคตे weight เค•ो carry เค•เคฐเคคे เคนै। เคฏे weight real numbers เคนोเคคे เคนै। directed เค”เคฐ undirected graph เคฆोเคจों เคนी weighted Graph เคนो เคธเค•เคคे เคนै।

เคตे Graph เคœो weight เค•ो carry เคจเคนी เค•เคฐเคคे เคนै non-weighted Graph เค•เคนเคฒाเคคा เคนै।


Terminology of Graph in hindi

Path

Primary node U เคธे เค•िเคธी terminal node V เคคเค• เคชเคนुंเคšเคจे เค•े เคฒिเค nodes เค•े Order เค•े เคฐूเคช เคฎें เคเค• Path เค•ो Define เค•िเคฏा เคœा เคธเค•เคคा เคนै।

Closed path

เคเค• path เค•ो closed path เค•เคนा เคœाเคเค—ा เคฏเคฆि initial node terminal node เค•े equals เคนै। V0 = VN เคนोเคจे เคชเคฐ เคเค• Path Closed เคนो เคœाเคเค—ा ।

Simple path

เคฏเคฆि graph เค•े All nodes exception V 0 = V N เค•े เคธाเคฅ เค…เคฒเค— เคนैं , เคคो เคเคธे path (P) เค•ो closed simple path เค•เคนเคคे  เคนै।

Cycle

เคเค• cycle เค•ो เค‰เคธ path เค•े เคฐूเคช เคฎें Define เค•िเคฏा เคœा เคธเค•เคคा เคนै เคœिเคธเคฎें First and Last vertices เค•ो เค›ोเคก़เค•เคฐ เค•ोเคˆ Repeated edges เคฏा vertices เคจเคนीं เคนैं।

Connected Graph

connected Graph เคเค•  เคเคธा Graph เคนै เคœिเคธเคฎें V เคฎें เคช्เคฐเคค्เคฏेเค• เคฆो vertices (u, v) เค•े เคฌीเคš เค•ोเคˆ path available เคนै। connected Graph เคฎें เค•ोเคˆ isolated node เคจเคนीं เคนैं।

Complete Graph

เคเค• complete graph เคตเคน เคนै เคœिเคธเคฎें each node, เค…เคจ्เคฏ เคธเคญी nodes เค•े เคธाเคฅ connected เคนै। เคเค• complete graph เคฎें n(n-1)/2 edges เคนोเคคे เคนैं เคœเคนां graph เคฎें nodes เค•ी เคธंเค–्เคฏा n เคนोเคคी เคนै।

Weighted Graph

Weighted graph เคฎें, each edge เค•ो เค•ुเค› data เคœैเคธे length เคฏा weight เค•े เคธाเคฅ assign เค•िเคฏा เคœाเคคा เคนै। edge e เค•ा เคญाเคฐ w(e) เค•े form เคฎें เคฆिเคฏा เคœा เคธเค•เคคा เคนै।

Digraph

Digraph เคเค• directed graph เคนै เคœिเคธเคฎें graph เค•ा each edge เค•िเคธी เคจ เค•िเคธी direction เคธे connect เคนोเคคा เคนै เค”เคฐ traversing เค•ेเคตเคฒ specified Direction เคฎें เคนी เค•िเคฏा เคœा เคธเค•เคคा เคนै।

Loop

เคเค• edge เคœो same end points เค•े เคธाเคฅ Connected เคนै เค‰เคธे loop เค•เคนा เคœा เคธเค•เคคा เคนै।

Adjacent Nodes

เคฏเคฆि เคฆो nodes u เค”เคฐ v เคเค• เค•िเคจाเคฐे e เค•े เคฎाเคง्เคฏเคฎ เคธे connected เคนैं, เคคो เคจोเคก्เคธ u เค”เคฐ v เค•ो neighbor's) เคฏा adjacent node เค•เคนा เคœाเคคा เคนै।

Degree of Node

node เค•ी degree, edges เค•ी เคธंเค–्เคฏा เคนै เคœो เค‰เคธ node เค•े เคธाเคฅ connect เคนुเค เคนै। degree 0 เคตाเคฒे node เค•ो isolated node เค•เคนा เคœाเคคा เคนै।



Post a Comment

0 Comments