Skip to main content

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.

Back to lesson: Practice: Combination Drill — Five Fusions