@InProceedings{Yogi_FUN2004,
AUTHOR = {Stelian Ciurea and Erik D. Demaine and
Corina E. P\v{a}tra\c{s}cu and Mihai P\v{a}tra\c{s}cu},
TITLE = {Finding a Divisible Pair and a Good Wooden Fence},
BOOKTITLE = {Proceedings of the 3rd International Conference on Fun with
Algorithms (FUN 2004)},
bookurl = {http://www.di.unipi.it/fun04/},
MONTH = {May 26--28},
YEAR = 2004,
ADDRESS = {Isola d'Elba, Italy},
PAGES = {206--219},
papers = {DivisiblePair_SIGSAM},
length = {12 pages},
withstudent = 1,
}
The second problem we study is a geometric optimization problem where the objective amusingly influences the constraints. Suppose you want to surround n trees at given coordinates by a wooden fence. However, you have no external wood supply, and must obtain wood by chopping down some of the trees. The goal is to cut down a minimum number of trees that can be built into a fence that surrounds the remaining trees. We obtain efficient polynomial-time algorithms for this problem.
We also describe an unusual data-structural view of the Nim game, leading to an intriguing open problem.