<gouthampradhan>array_IncreasingTripletSubsequence_1.java
public boolean increasingTriplet(int[] nums) {
    int[] A = new int[3];
    Arrays.fill(A, Integer.MAX_VALUE);
    for (int num : nums) {
      if (num < A[0]) {
        A[0] = num;
      } else if (num < A[1] && num > A[0]) {
        A[1] = num;
      } else if (num < A[2] && num > A[1]) {
        return true;
      }
    }
    return false;
  }
public boolean var_0 ( int [ ] var_1 ) {
  int [ ] var_3 = new int [ 3 ] ;
  Arrays . fill ( var_3 , Integer . MAX_VALUE ) ;
  for ( int var_8 : var_1 ) {
    if ( var_8 < var_3 [ 0 ] ) {
      var_3 [ 0 ] = var_8 ;
    }
    else if ( var_8 < var_3 [ 1 ] && var_8 > var_3 [ 0 ] ) {
      var_3 [ 1 ] = var_8 ;
    }
    else if ( var_8 < var_3 [ 2 ] && var_8 > var_3 [ 1 ] ) {
      return true ;
    }
  }
  return false ;
}
