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 cff07aa commit daea53cCopy full SHA for daea53c
kotlin/0997-find-the-town-judge.kt
@@ -3,8 +3,8 @@ class Solution {
3
val delta = IntArray (n + 1)
4
5
for ((src, dst) in trust) {
6
- delta[i]++
7
- delta[o]--
+ delta[dst]++
+ delta[src]--
8
}
9
10
for (i in 1..n) {
0 commit comments