public class FloydWarshall { public static void floydWarshall(int[][] graph){ int N = graph.length; int dist[][] = new int[N][N]; for(int i=0;i