Graph Representation: Adjacency Matrix and Adjacency List

A Graph is a finite collection of objects and relations existing between objects. If we represent objects as vertices(or nodes) and relations as edges then we can get following two types of graph:-


This is a companion discussion topic for the original entry at http://iq.opengenus.org/graph-representation-adjacency-matrix-adjacency-list/