Skip to content

Commit 91035de

Browse files
authored
Update Solution.kt
1 parent 7287f81 commit 91035de

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/g2101_2200/s2127_maximum_employees_to_be_invited_to_a_meeting

1 file changed

+1
-1
lines changed

src/main/kotlin/g2101_2200/s2127_maximum_employees_to_be_invited_to_a_meeting/Solution.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Solution {
2626
visited[i] = true
2727
}
2828
}
29-
while (!q.isEmpty()) {
29+
while (q.isNotEmpty()) {
3030
val curr = q.poll()
3131
val next = favorite[curr]
3232
indegree[next]--

0 commit comments

Comments
 (0)