https://www.examsmeta.com/adjacency-matrix-a-comprehensive-guide/