static int getFrequency ( char ch , int l , int r ) {
  if ( l == 0 ) return freq [ ( int ) ch ] [ r ] ;
  else return ( freq [ ( int ) ch ] [ r ] - freq [ ( int ) ch ] [ l - 1 ] ) ;
}

static int getFrequency ( char ch , int l , int r ) { if ( l == 0 ) return freq [ ( int ) ch ] [ r ] ; else return ( freq [ ( int ) ch ] [ r ] - freq [ ( int ) ch ] [ l - 1 ] ) ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (return_statement (array_access array: (array_access array: (identifier) index: (cast_expression type: (integral_type) value: (identifier))) index: (identifier))) alternative: (return_statement (parenthesized_expression (binary_expression left: (array_access array: (array_access array: (identifier) index: (cast_expression type: (integral_type) value: (identifier))) index: (identifier)) right: (array_access array: (array_access array: (identifier) index: (cast_expression type: (integral_type) value: (identifier))) index: (binary_expression left: (identifier) right: (decimal_integer_literal)))))))))