A graph is a collection of vertices(V) or nodes(N) connected with edges (E)
Types of graphs
Trees
A graph with V-1 edges is a tree
Binary Trees
A tree where each vertices has zero or two children
A graph is a collection of vertices(V) or nodes(N) connected with edges (E)
A graph with V-1 edges is a tree
A tree where each vertices has zero or two children