Each interval carries a value. For every query point, report the largest value among the intervals that contain it.
Each interval carries a value. For every query point, report the largest value among the intervals that contain it.
The discussion opens with the full question.