public static void main(String[] args) {
        System.out.println(new IsGraphBipartite().isBipartite(new int[][] {
                { 1, 3, 2 },
                { 0, 2 },
                { 1, 3, 0 },
                { 0, 2 }
        }));
        System.out.println(new IsGraphBipartite().isBipartite(new int[][] {
                { 1 },
                { 0 },
                { 1, 0 },
                }));
        System.out.println(new IsGraphBipartite().isBipartite(new int[][] {
                { 1 },
                { 0 },
                { 4 },
                { 4 },
                { 2, 3 },
                }));
    }
Why Did you create this class? what does it do?
src/problems/medium/IsGraphBipartite.java