* A recursive function to get the sum of * values in given range of the array . * The following are parameters for this function . * * st -> Pointer to segment tree * node -> Index of current node * in the segment tree . * ss & se -> Starting and ending indexes * of the segment represented * by current node , i . e . , st [ node ] * l & r -> Starting and ending indexes * of range query
static int MaxUtil ( int [ ] st , int ss , int se , int l , int r , int node ) {