Graphs
Graph
Graph is a collection of two set V and E where,
V ——→ Vertices/Nodes
E ——→ Edges
Graph is a mathematical structures that represent pair-wise relationship between objects where nodes are connected with edges.
Vertex
→
Vertex is nothing but the data element which is also known as Nodes
Edge
→
Edge is a connection link between two vertices