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
-
16:07
Ken LaCorte: Elephants in Rooms
11 hours agoWhy firefighting got political
3742 -
8:31
Rethinking the Dollar
15 hours agoBitcoin Secrets Nobody Talks About!
6924 -
2:36:47
DLDAfterDark
5 hours ago $0.35 earnedIs The Left Recruiting To KILL Conservatives? Hey Fascist, CATCH!
9051 -
22:53
Jasmin Laine
1 day agoParliament ERUPTS After "WORST Decision EVER!"—Carney Left SPEECHLESS by SHOCKING Report
29.7K73 -
11:50
Mrgunsngear
1 day ago $7.44 earnedSteiner MPS Enclosed Red Dot: Better Than The ACRO P2? 🔴
28.5K17 -
1:27:55
Sarah Westall
1 day agoSelecting World Leaders: Intelligence No Longer a Prerequisite w/ Martin Armstrong
38.2K21 -
2:03:07
Badlands Media
1 day agoDevolution Power Hour Ep. 393: Synthetic Reality, and the RICO Grande Strategy
65.2K24 -
11:23:18
GritsGG
12 hours agoQuad Win Streaks!🫡 Most Wins in WORLD! 3600+
77.3K10 -
41:16
MattMorseTV
7 hours ago $77.29 earned🔴Antifa is PREPARING for WAR.🔴
74.7K432 -
2:55:38
cosmicvandenim
15 hours agoCOSMIC VAN DENIM | Horror Game | STOREBOUND
27.1K3