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 23adcb4 commit 70af98fCopy full SHA for 70af98f
Algorithms/Easy/414_ThirdMaximumNumber/Solution.java
@@ -4,7 +4,6 @@ public int thirdMax(int[] nums) {
4
long max2 = -2147483649l;
5
long max3 = -2147483649l;
6
7
-
8
for (int i = 0; i < nums.length; i++) {
9
if (nums[i] > max1) {
10
max3 = max2;
0 commit comments