Problem 1851 · Hard
Find the shortest inclusive interval containing each query point.
Open the interactive visualisation