目录

力扣785. 判断二分图

力扣785. Is Graph Bipartite?(判断二分图)

判断图是否是二分图。

示例 1:

../posts/01_学习/87_LeetCode/0785_判断二分图/img/0785-1-description.png

输入:graph = [[1,3],[0,2],[1,3],[0,2]]
输出:true
解释:...

提示: