<awangdev>217. Contains Duplicate_2.java
public boolean containsDuplicate(int[] nums) {
        if (nums == null || nums.length == 0) {
            return false;
        }
        Arrays.sort(nums);
        for (int i = 0; i < nums.length - 1; i++) {
            if (nums[i] == nums[i + 1]) {
                return true;
            }
        }
        return false;
    }
public boolean var_0 ( int [ ] var_1 ) {
  if ( var_1 == null || var_1 . length == 0 ) {
    return false ;
  }
  Arrays . sort ( var_1 ) ;
  for ( int var_7 = 0 ;
  var_7 < var_1 . length - 1 ;
  var_7 ++ ) {
    if ( var_1 [ var_7 ] == var_1 [ var_7 + 1 ] ) {
      return true ;
    }
  }
  return false ;
}
