100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

Graphs in Data Structure

Rating
-
Sold
-
Pages
39
Uploaded on
27-11-2025
Written in
2025/2026

It provides in depth knowledge about graphs in Data Structure

Institution
University Of The People
Module
Data Structure (DS)











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
University Of The People
Module
Data Structure (DS)

Document information

Uploaded on
November 27, 2025
Number of pages
39
Written in
2025/2026
Type
Lecture notes
Professor(s)
Anurag sir
Contains
All classes

Subjects

Content preview

DS – Module 3 – Non Linear Data Structures – Graphs
🞂 What is Graph?
🞂 Representation of Graph
⮩ Matrix representation of Graph
⮩ Linked List representation of Graph

🞂 Elementary Graph Operations
⮩ Breadth First Search (BFS)
⮩ Depth First Search (DFS)
⮩ Spanning Trees
⮩ Minimal Spanning Trees
⮩ Shortest Path


#3130702 (DS) ⬥ Unit 3 – Non-Linear Data
Dr. Pradyumansinh U. Jadeja
Structure (Tree Part-1)

,Basic Notations of Graph Theory

1 2 x1 1 1
x3 x1 x
v v
x2 x2
1 (a) 2 2 3 2

x4 x5 x4 x5
4 4
1 2 5
(d) (f)
v v
1 (b) 2
x1 1 x3 x1 1 x
x2 x2
2 3 2
1 2

v v x4 x5 x4
4 x5
4
1 (c) 2
(e) (g)
#3130702 (DS) ⬥ Unit 3 – Non-Linear Data
Dr. Pradyumansinh U. Jadeja
Structure (Tree Part-1)

,Basic Notations of Graph Theory
🞂 Consider diagrams shown in above figure
🞂 Every diagrams represent Graphs
🞂 Every diagram consists of a set of points which are shown by dots or circle
sometimes labelled V1, V2, V3… OR 1,2,3…

🞂 In every diagrams, certain pairs of such points are connected by lines or arcs
🞂 Note that every arc start at one point and ends at another point




#3130702 (DS) ⬥ Unit 3 – Non-Linear Data
Dr. Pradyumansinh U. Jadeja
Structure (Tree Part-1)

, Basic Notations of Graph Theory
🞂 Graph
⮩ A graph G consist of a non-empty set V called the set of nodes (points, vertices) of the gr
which is the set of edges and a mapping from the set of edges E to a set of pairs of elements o
⮩ It is also convenient to write a graph as G=(V,E)
⮩ Notice that definition of graph implies that to every edge of a graph G, we can associate a pair
the graph. If an edge X Є E is thus associated with a pair of nodes (u,v) where u, v Є V then w
edge x connect u and v

🞂 Adjacent Nodes
⮩ Any two nodes which are connected by an edge in a graph are called adjacent nodes




#3130702 (DS) ⬥ Unit 3 – Non-Linear Data
Dr. Pradyumansinh U. Jadeja
Structure (Tree Part-1)
£2.30
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
ditithakkar

Also available in package deal

Get to know the seller

Seller avatar
ditithakkar KPGU
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
8 months
Number of followers
0
Documents
20
Last sold
-
STUDY FROM THE BEST

PROGRAMMING languages C, C++, SQL PLUS, ADVANCE Mathematics, English Language Ethics and many more

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions