How do I restructure my adjacency matrix?

Last updated