今際の国の呵呵君
Thursday, August 16, 2018
[LeetCode]Possible Bipartition
这道题和
Is Graph Bipartite
是一样的,我们只需要check图是不是二分的即可。方法是完全一样的,代码如下:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment