Separating Overlapped Intervals on a Line
Abstract
Given n intervals on a line , we consider the problem of moving these intervals on such that no two intervals overlap and the maximum moving distance of the intervals is minimized. The difficulty for solving the problem lies in determining the order of the intervals in an optimal solution. By interesting observations, we show that it is sufficient to consider at most n "candidate" lists of ordered intervals. Further, although explicitly maintaining these lists takes (n2) time and space, by more observations and a pruning technique, we present an algorithm that can compute an optimal solution in O(n n) time and O(n) space. We also prove an (n n) time lower bound for solving the problem, which implies the optimality of our algorithm.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.