Adjacency matrix: Definition, Properties and Solved Examples