Open THIRU-1074 opened 3 months ago
@ZigRazor please assign this to me !
yes
To implement this I need to check for odd nodes cycles in the graph therefore I have made another logic for the detecting those type of cycles. I can't include and use available cycle detection headers for this algorithm is that fine ? Should I make separate header for detecting even or odd nodes cycle and include in bipartite or shall I define in the same header itself.
it's ok to define in the same header file
A graph is bipartite if the nodes can be partitioned into two independent sets A and B such that every edge in the graph connects a node in Set A and a node in Set B.
https://en.wikipedia.org/wiki/Bipartite_graph