<awangdev>169. Majority Element_3.java
private int countInRange(int[] nums, int value, int lo, int hi) {

        int count = 0;
        for (int i = lo; i <= hi; i++) {
            if (nums[i] == value) count++;
        }
        return count;
    }
private int sample_funcname ( int [ ] var_0 , int var_1 , int var_2 , int var_3 ) {
  int var_5 = 0 ;
  for ( int var_6 = var_2 ;
  var_6 <= var_3 ;
  var_6 ++ ) {
    if ( var_0 [ var_6 ] == var_1 ) var_5 ++ ;
  }
  return var_5 ;
}
