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
-
The Quartering
1 hour agoBen Shapiro Vs Tucker Carlson, Blackface Trick Works, Kash Patel Under Fire, Based Woman Vs Trans
18.1K8 -
1:24:44
DeVory Darkins
2 hours agoTrump dominates 60 minutes interview as Democrats surrender to Mamdani
83.9K28 -
LIVE
Dr Disrespect
4 hours ago🔴LIVE - DR DISRESPECT - ARC RAIDERS - FULL SEND INTO THE RED
1,619 watching -
1:50:43
Tucker Carlson
2 hours agoChris Williamson’s Advice to Men: How to Survive a World of OnlyFans and AI Girlfriends
32.3K36 -
19:57
Neil McCoy-Ward
7 hours agoThinking Of Relocating? (You'd Better Act FAST! 🚨)
6684 -
LIVE
Jeff Ahern
48 minutes agoMonday Madness with Jeff Ahern
65 watching -
1:07:25
Timcast
3 hours agoBomb DETONATED At Harvard, Attacks On Ice Agents SKYROCKET
149K126 -
1:55:31
Steven Crowder
5 hours agoTucker Carlson & MAGA: Everyone is Missing the Point
377K303 -
1:11:22
The Rubin Report
4 hours agoWatch Joe Rogan’s Face as Elon Musk Exposes How Dems Are Cheating in Plain Sight
62.1K83 -
1:01:07
VINCE
6 hours agoThe Walls Are Closing In On The Deep State | Episode 160 - 11/03/25
245K152