Police Station

Asked at D. E. Shaw · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

Considering a lane to be one-dimensional, you are provided with an array `police_station` consisting of `n` distinct integers representing the coordinates of police stations.

Loading the problem…