Mental Model
A bipartite graph can be split into two groups where no edges connect nodes within the same group. We check this by trying to color nodes with two colors without conflicts.
Analogy: Imagine a party where guests are split into two rooms so that no two friends are in the same room. If you can seat everyone this way, the party plan is bipartite.
Group A: 1 -> 3 -> 5 Group B: 2 -> 4 -> 6 Edges only go between groups, never inside one. Example graph: 1 -> 2 | | 3 -> 4 No edges connect nodes in the same group.
