18
Welcome to our presentation

Graph data structure

Embed Size (px)

DESCRIPTION

Graph data structure

Citation preview

Page 1: Graph  data structure

Welcome to our presentation

Page 2: Graph  data structure

GROUP MEMBER FAHEM AHMED ID : 133-15-3008

MAHMUDUL HASAN ID: 133-15-2999

HUMAIRA HUFSA DISHA ID: 133-15-3012

JANNATUL NAYEEM ID: 133-15-3004

Page 3: Graph  data structure

PRESENTATION TOPIC GRAPH

Page 4: Graph  data structure

WHAT IS GRAPH ? A GRAPH is a mathematical structure consisting of a

set of vertices and a set of edges. 

Node: Each element of a graph is called node of a graph

Edge :Line joining two nodes is called an edge

= Vertices

= Edeges

Page 5: Graph  data structure

TYPES OF GRAPHS

There are two types of graph :• Directed graph• Undirected graph

Page 6: Graph  data structure

DIRECTED GRAPH

• A graphs G is called directed graph if each edge has a direction.

Page 7: Graph  data structure

UN DIRECTED GRAPH

• A graphs G is called directed graph if each edge has no direction.

Page 8: Graph  data structure

SOME DIFFERENT TYPES OF GRAPH1. Sub graph

2. Complete graph

Page 9: Graph  data structure

3. Weighted graph

Page 10: Graph  data structure

REPRESENTATION OF GRAPHSGraphs can be represented in 2 ways :

Array representation

Page 11: Graph  data structure

Linked list representation

Page 12: Graph  data structure

SOME REAL LIFE APPLICATION

Page 13: Graph  data structure
Page 14: Graph  data structure
Page 15: Graph  data structure
Page 16: Graph  data structure
Page 17: Graph  data structure

Any question?

Page 18: Graph  data structure

Thank you!