Is adjacency matrix representation and sparse matric representation the same?