Improved algorithms for the range next value problem and applications

Improved algorithms for the range next value problem and applications