static void findPostOrderUtil ( int pre [ ] , int n , int minval , int maxval , INT preIndex ) {
  if ( preIndex . data == n ) return ;
  if ( pre [ preIndex . data ] < minval || pre [ preIndex . data ] > maxval ) {
    return ;
  }
  int val = pre [ preIndex . data ] ;
  preIndex . data ++ ;
  findPostOrderUtil ( pre , n , minval , val , preIndex ) ;
  findPostOrderUtil ( pre , n , val , maxval , preIndex ) ;
  System . out . print ( val + " " ) ;
}

static void findPostOrderUtil ( int pre [ ] , int n , int minval , int maxval , INT preIndex ) { if ( preIndex . data == n ) return ; if ( pre [ preIndex . data ] < minval || pre [ preIndex . data ] > maxval ) { return ; } int val = pre [ preIndex . data ] ; preIndex . data ++ ; findPostOrderUtil ( pre , n , minval , val , preIndex ) ; findPostOrderUtil ( pre , n , val , maxval , preIndex ) ; System . out . print ( val + " ▁ " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier) dimensions: (dimensions)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (type_identifier) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (identifier))) consequence: (return_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (array_access array: (identifier) index: (field_access object: (identifier) field: (identifier))) right: (identifier)) right: (binary_expression left: (array_access array: (identifier) index: (field_access object: (identifier) field: (identifier))) right: (identifier)))) consequence: (block (return_statement))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (array_access array: (identifier) index: (field_access object: (identifier) field: (identifier))))) (expression_statement (update_expression (field_access object: (identifier) field: (identifier)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal)))))))