MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/graph_tree/Check for bipertite.cpp:73–82  ·  view source on GitHub ↗

Driver code

Source from the content-addressed store, hash-verified

71
72// Driver code
73int main()
74{
75 int G[][V] = { { 0, 1, 0, 1 },
76 { 1, 0, 1, 0 },
77 { 0, 1, 0, 1 },
78 { 1, 0, 1, 0 } };
79
80 isBipartite(G) ? cout << "Yes" : cout << "No";
81 return 0;
82}

Callers

nothing calls this directly

Calls 1

isBipartiteFunction · 0.85

Tested by

no test coverage detected