Suppose I have directed graph $G=(V,E)$ s.t at least one of the following statements is always true:
- for every $v$ in $V$, v doesn't have any incoming edges.
- for every $v$ in $V$, v doesn't have any outgoing edges.
How can I prove that G is bipartite? I tried to think of a proof but coldn't figure it out.
HINT: Let $V_0$ be the set of vertices with no incoming edge and $V_1$ the set of vertices with no outgoing edge.