Adjacency List Vs Matrix Inverse