A sorted array can hold the same value many times. Find where a value's run ends — in logarithmic time.
A sorted array can hold the same value many times. Find where a value's run ends — in logarithmic time.
The discussion opens with the full question.