comefrom: <awangdev>259. 3Sum Smaller_1.java
code: public int threeSumSmaller(int[] nums, int target) {
          if (nums == null || nums.length <= 2) {
              return 0;
          }
          Arrays.sort(nums);
          int count = 0;
          for (int i = 0; i < nums.length - 2; i++) { 
              int start = i + 1, end = nums.length - 1;  
              while (start < end) {
                  if (nums[i] + nums[start] + nums[end] < target) {
                      count += end - start;
                      start++;
                  } else {
                      end--;
                  }
              }
          }
          return count;
      }
masked: public int sample_funcname ( int [ ] var_0 , int var_1 ) {
    if ( var_0 == null || var_0 . length <= 2 ) {
      return 0 ;
    }
    Arrays . sort ( var_0 ) ;
    int var_2 = 0 ;
    for ( int var_3 = 0 ;
    var_3 < var_0 . length - 2 ;
    var_3 ++ ) {
      int var_4 = var_3 + 1 , var_5 = var_0 . length - 1 ;
      while ( var_4 < var_5 ) {
        if ( var_0 [ var_3 ] + var_0 [ var_4 ] + var_0 [ var_5 ] < var_1 ) {
          var_2 += var_5 - var_4 ;
          var_4 ++ ;
        }
        else {
          var_5 -- ;
        }
      }
    }
    return var_2 ;
  }
  