Skip to content

Commit 7094aa9

Browse files
committed
Runtime: 1614 ms (Top 22.77%) | Memory: 55.6 MB (Top 5.09%)
1 parent 4014a21 commit 7094aa9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/algorithms/M/Minimum Degree of a Connected Trio in a Graph/Minimum Degree of a Connected Trio in a Graph.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 1614 ms (Top 22.77%) | Memory: 55.6 MB (Top 5.09%)
12
class Solution {
23
public:
34
int minTrioDegree(int n, vector<vector<int>>& edges) {
@@ -21,7 +22,7 @@ class Solution {
2122
}
2223
}
2324
}
24-
25+
2526
return res == INT_MAX ? -1 : res;
2627
}
27-
};
28+
};

0 commit comments

Comments
 (0)