You’re given a network of nnn nodes as an n×nn \times nn×n adjacency matrix graph with the ithi^{th}ith node directly connected to the jthj^{th}jt ...