Skip to content

Commit 52cdc08

Browse files
committed
Runtime: 1034 ms (Top 5.00%) | Memory: 142.3 MB (Top 5.23%)
1 parent 028d661 commit 52cdc08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/algorithms/M/Maximum Gap/Maximum Gap.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 1034 ms (Top 5.00%) | Memory: 142.3 MB (Top 5.23%)
12

23
class Solution {
34
public:
@@ -14,12 +15,11 @@ class Solution {
1415
}
1516
for(auto it: m)
1617
{
17-
if(it.second>maxx)
18+
if(it.second>maxx)
1819
{
1920
maxx=it.second;
2021
}
2122
}
2223
return maxx;
2324
}
2425
};
25-

0 commit comments

Comments
 (0)