We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fedac5 commit d29cfc2Copy full SHA for d29cfc2
997/gpt_solution.js
@@ -27,6 +27,7 @@ function findJudge(n, trust) {
27
return -1;
28
}
29
30
+// I found this smarter also better in terms of memory.
31
function findJudge2(n, trust) {
32
const trustCounts = Array(n + 1).fill(0);
33
0 commit comments