Skip to content

Commit 1914dec

Browse files
committed
Runtime: 207 ms (Top 21.58%) | Memory: 50.5 MB (Top 79.28%)
1 parent cc83902 commit 1914dec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/F/Find the Town Judge/Find the Town Judge.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 207 ms (Top 21.58%) | Memory: 50.5 MB (Top 79.28%)
12
var findJudge = function(n, trust) {
23
const length = trust.length;
34
let possibleJudge = [], judgeMap = new Map(), value, judge = -1;
@@ -35,4 +36,4 @@ var findJudge = function(n, trust) {
3536
if(judge !== -1) break;
3637
}
3738
return judge;
38-
};
39+
};

0 commit comments

Comments
 (0)