static StringBuilder solve ( ArrayList < Long > arr , int n , int k ) {
  StringBuilder sb = new StringBuilder ( ) ;
  long prev = 0 ;
  ;
}

static StringBuilder solve ( ArrayList < Long > arr , int n , int k ) { StringBuilder sb = new StringBuilder ( ) ; long prev = 0 ; ; }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (generic_type (type_identifier) (type_arguments (type_identifier))) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)))))