Concept Flow - Bipartite Graph Check
Start with uncolored graph
Pick a node, assign color 1
Use BFS/DFS to visit neighbors
If neighbor uncolored, assign opposite color
If neighbor colored same as current, stop: Not Bipartite
Repeat for all nodes
If no conflicts, graph is Bipartite
Assign colors to nodes using BFS/DFS. If neighbors share color, graph is not bipartite.
