Skip to content

Commit bb676bf

Browse files
authored
Improved task 3620
1 parent 5148c79 commit bb676bf

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/g3601_3700/s3620_network_recovery_pathways

1 file changed

+1
-1
lines changed

src/main/kotlin/g3601_3700/s3620_network_recovery_pathways/Solution.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Solution {
2222
q.offer(i)
2323
}
2424
}
25-
while (!q.isEmpty()) {
25+
while (q.isNotEmpty()) {
2626
val u = q.poll()
2727
ts.add(u)
2828
for (v in g[u]) {

0 commit comments

Comments
 (0)