We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825ad67 commit ba29736Copy full SHA for ba29736
problems/785.is-graph-bipartite.md
@@ -137,6 +137,10 @@ class Solution:
137
138
### 代码
139
140
+代码支持:Python3,Java
141
+
142
+Python3 Code:
143
144
```py
145
class UF:
146
def __init__(self, n):
@@ -163,6 +167,8 @@ class Solution:
163
167
return True
164
168
```
165
169
170
+Java Code:
171
166
172
```java
173
// weighted quick-union with path compression
174
class Solution {
0 commit comments