Practice · 1 of 5
Spreading the Stations
CHALLENGE
Difficulty: advanced+25 XP
**Bài toán.** n candidate positions on a line; choose k of them to maximize the minimum distance between any two chosen positions. **Constraints:** 2 ≤ k ≤ n ≤ 100000; 0 ≤ a[i] ≤ 10^9. **Output:** one integer — that maximized minimum distance.
Press Submit to check your solution.
Back to lesson: Practice: Combination Drill — Five Fusions