comefrom: <gouthampradhan>array_LargestTimeForGivenDigits_1.java
code: public String largestTimeFromDigits(int[] A) {
      int max = -1;
      String result = "";
      for (int i = 0; i < A.length; i++) {
        if (A[i] > 2) continue;
        for (int j = 0; j < A.length; j++) {
          if (j == i) continue;
          if (A[i] == 2 && A[j] > 3) continue;
          for (int k = 0; k < A.length; k++) {
            if (k == i || k == j) continue;
            if (A[k] > 5) continue;
            for (int l = 0; l < A.length; l++) {
              if (l == i || l == j || l == k) continue;
              int value = ((A[i] * 10 + A[j]) * 60) + A[k] * 10 + A[l];
              if (value > max) {
                max = value;
                result = A[i] + "" + A[j] + ":" + A[k] + "" + A[l];
              }
            }
          }
        }
      }
      return result;
    }
masked: public String var_0 ( int [ ] var_1 ) {
    int var_3 = - 1 ;
    String var_6 = "" ;
    for ( int var_8 = 0 ;
    var_8 < var_1 . length ;
    var_8 ++ ) {
      if ( var_1 [ var_8 ] > 2 ) continue ;
      for ( int var_11 = 0 ;
      var_11 < var_1 . length ;
      var_11 ++ ) {
        if ( var_11 == var_8 ) continue ;
        if ( var_1 [ var_8 ] == 2 && var_1 [ var_11 ] > 3 ) continue ;
        for ( int var_13 = 0 ;
        var_13 < var_1 . length ;
        var_13 ++ ) {
          if ( var_13 == var_8 || var_13 == var_11 ) continue ;
          if ( var_1 [ var_13 ] > 5 ) continue ;
          for ( int var_15 = 0 ;
          var_15 < var_1 . length ;
          var_15 ++ ) {
            if ( var_15 == var_8 || var_15 == var_11 || var_15 == var_13 ) continue ;
            int var_18 = ( ( var_1 [ var_8 ] * 10 + var_1 [ var_11 ] ) * 60 ) + var_1 [ var_13 ] * 10 + var_1 [ var_15 ] ;
            if ( var_18 > var_3 ) {
              var_3 = var_18 ;
              var_6 = var_1 [ var_8 ] + "" + var_1 [ var_11 ] + ":" + var_1 [ var_13 ] + "" + var_1 [ var_15 ] ;
            }
          }
        }
      }
    }
    return var_6 ;
  }
  