Premium Only Content
Graph Data Structure from Non Linear Data Structure ( #shorts )
Hi Friends,
Graph Data Structure from Non Linear Data Structure ( #shorts )
Non-Linear Data Structure : Graph Data Structure
A graph is a data structure that represents a collection of nodes (you can call vertices too) and the connections (you can call edges too) between them.
V = {0, 1, 2, 3}
E = {(0,1), (0,2), (0,3), (1,2)}
G = {V, E}
a graph is a data structure (V, E) that consists of
A collection of vertices V (nodes)
A collection of edges E, represented as ordered pairs of vertices (U,V)
Lets take an example of network objects as a graphical view, where the objects are visible as dots (nodes) and the connections between them are visible as lines (edges).
Eg: A social network can be referred as a graph, where each user is a node and the connections between them considered as their edges(relationships).
There are different types of graphs, eg: directed graphs (in which the edges have a specific direction) and undirected graphs (in which the edges do not have a direction).
Graphs can be used to solve many problems, such as finding the shortest path between two nodes, identifying clusters of nodes that are close connected, and analyzing the structure of complex systems.
#datastructure #graph #graphdatastructure #nonlinear #nonlineardatastructure #nodes #edge #vertice #object #graphical #shortsvideo #shortsfeed #shortsyoutube #shorts #shortvideo #shortsviral #shortvideo #viral #trending #trendingnow #trendingshort #viralshort #trend #princecheema_official #interview #interviewquestion #interviewquestionsanswers #question #answer @princecheema_official
-
LIVE
Candace Show Podcast
1 hour agoMatt Gaetz Out, Jussie Smollett Walks Free! | Candace Ep 108
9,515 watching -
LIVE
Tate Speech by Andrew Tate
8 hours agoEMERGENCY MEETING EPISODE 92 - IN THE TRENCHES
99,455 watching -
DVR
In The Litter Box w/ Jewels & Catturd
20 hours agoThe Trump Effect | In the Litter Box w/ Jewels & Catturd – Ep. 696 – 11/21/2024
13.5K12 -
20:53
SLS - Street League Skateboarding
2 days agoGold Medals, World Class Food, Night life & more - Get Lost: Tokyo
1.29K -
47:13
PMG
16 hours ago"Hannah Faulkner and Doug Billings | WHY LIBERALS LOST THE ELECTION"
252 -
59:01
The Liberty Lobbyist
3 hours ago"We Only Have NOW To Make a Difference"
140 -
CatboyKami
4 hours agoStalker 2 Blind playthrough pt1
551 -
1:06:27
Russell Brand
4 hours agoNeil Oliver on the Rise of Independent Media, Cultural Awakening & Fighting Centralized Power –SF498
144K219 -
1:39:14
vivafrei
4 hours agoSoros Karma in New York! Tammy Duckwarth Spreads LIES About Tulsi Gabbard! Pennsylvania FLIPS & MORE
63.2K56 -
1:57:36
The Charlie Kirk Show
4 hours agoInside the Transition + The Bathroom Battle + Ban Pharma Ads? | Rep. Mace, Tucker, Carr | 11.21.24
114K49