My code:

public class Solution {

static int counter = 0;

```
public static boolean increasingTriplet(int[] nums) {
if (nums.length < 3) {
return false;
}
int currentMin = nums[nums.length - 1];
for (int i = nums.length - 2; i >= 0; i--) {
if (nums[i] < currentMin) {
currentMin = nums[i];
counter++;
if (counter == 2) {
return true;
}
}
}
return false;
}
```

}

TestCase:

2, 1, 5, 0, 4, 6

My result is True(which is correct), but the submission told me my result is False.