您即将离开力扣

您将访问一个外部网站,可能存在安全风险,请确认是否继续。
https://leetcode.cn/problems/is-graph-bipartite/solution/by-yukiyama-yoc0/
继续访问