<awangdev>169. Majority Element_2.java
public int majorityElement(int[] nums) {
        if (nums == null || nums.length == 0) {
            return -1;
        }
        Arrays.sort(nums);
        return nums[nums.length / 2];
    }
public int sample_funcname ( int [ ] var_0 ) {
  if ( var_0 == null || var_0 . length == 0 ) {
    return - 1 ;
  }
  Arrays . sort ( var_0 ) ;
  return var_0 [ var_0 . length / 2 ] ;
}
