Create boolean array of size high - low + 1 , each index i representing wether ( i + low ) th element found or not .
bool points_of_range [ high - low + 1 ] = { false } ; for ( int i = 0 ; i < n ; i ++ ) {