Skip to content

Commit cebd90e

Browse files
Implemented Graph Bipartite checking Algorithm in graph folder
1 parent dee4727 commit cebd90e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/graph/IsGraphBipartite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ public static void main(String[] args) {
8181
{0, 2},
8282
{0, 1}
8383
};
84-
System.out.println("Graph 2 is bipartite: " + sol.isBipartite(graph2)); // false
84+
System.out.println("Graph 2 is bipartite: " + sol.isBipartite(graph2));
8585
}
8686
}

0 commit comments

Comments
 (0)