Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class 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
Course
Data Structure (DS)

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)

Written for

Institution
University Of The People
Course
Data Structure (DS)

Document information

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

Subjects

$3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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
-
Member since
1 year
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 tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions