Graphs in Data Structure
What is a Graph? A graph is a pair G ={V,E} where‘ V’ is a set of vertices and ‘E’ is a set of edges between the vertices. V = {a,b,c,d} E = { (a, b), (b. c), (c. d), (d, a),(b, d)} Graph Terminology in Data Structure Degree of vertex : No. of edges […]
Graphs in Data Structure Read More »