A graph is a collection of vertices(V) or nodes(N) connected with edges (E)

Types of graphs

Graph representation

Trees

A graph with V-1 edges is a tree

Binary Trees

A tree where each vertices has zero or two children